DrawingAttributes.OnPropertyDataChanged Method (PropertyDataChangedEventArgs)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Raises the PropertyDataChanged event.

Namespace:   System.Windows.Ink
Assembly:  PresentationCore (in PresentationCore.dll)

protected virtual void OnPropertyDataChanged(
	PropertyDataChangedEventArgs e


Type: System.Windows.Ink.PropertyDataChangedEventArgs

A PropertyDataChangedEventArgs that contains the event data.

Exception Condition

e is null.

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 in a derived class, call the OnPropertyDataChanged method for the base class to ensure registered delegates receive the event.

.NET Framework
Available since 3.0
Return to top