Επεξεργασία

Κοινή χρήση μέσω


DependencyPropertyDescriptor.SupportsChangeEvents Property

Definition

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 SetValue(Object, Object).

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

Property Value

true if notifications for this property may originate from outside the property descriptor, such as from the component itself. false if notifications will only originate from direct calls made to SetValue(Object, Object).

Remarks

For example, for the true case, the component may implement the INotifyPropertyChanged interface, or may have an explicit propertyName.Changed event for this property.

This property relies on the underlying PropertyDescriptor.

Applies to