Редагувати

Поділитися через


PropertyDescriptor.SupportsChangeEvents Property

Definition

Gets a value indicating whether value change notifications for this property may originate from outside the property descriptor.

public:
 virtual property bool SupportsChangeEvents { bool get(); };
public virtual bool SupportsChangeEvents { get; }
member this.SupportsChangeEvents : bool
Public Overridable ReadOnly Property SupportsChangeEvents As Boolean

Property Value

true if value change notifications may originate from outside the property descriptor; otherwise, false.

Remarks

The SupportsChangeEvents property indicates whether value change notifications for this property may originate from outside the property descriptor, such as from the component itself, or whether notifications will only originate from direct calls made to the SetValue method. For example, the component may implement the INotifyPropertyChanged interface, or may have an explicit name.Changed event for this property.

Applies to