DrawingAttributes.OnPropertyDataChanged(PropertyDataChangedEventArgs) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A PropertyDataChangedEventArgs that contains the event data.
Exceptions
e
is null
.
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.