Επεξεργασία

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


DrawingAttributes.OnPropertyDataChanged(PropertyDataChangedEventArgs) Method

Definition

Raises the PropertyDataChanged event.

protected:
 virtual void OnPropertyDataChanged(System::Windows::Ink::PropertyDataChangedEventArgs ^ e);
protected virtual void OnPropertyDataChanged (System.Windows.Ink.PropertyDataChangedEventArgs e);
abstract member OnPropertyDataChanged : System.Windows.Ink.PropertyDataChangedEventArgs -> unit
override this.OnPropertyDataChanged : System.Windows.Ink.PropertyDataChangedEventArgs -> unit
Protected Overridable Sub OnPropertyDataChanged (e As PropertyDataChangedEventArgs)

Parameters

Exceptions

Remarks

Raising an event invokes the event handler through a delegate.

The OnPropertyDataChanged method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event.

Notes to Inheritors

When overriding OnPropertyDataChanged(PropertyDataChangedEventArgs) in a derived class, call the OnPropertyDataChanged(PropertyDataChangedEventArgs) method for the base class to ensure registered delegates receive the event.

Applies to