Uredi

Deli z drugimi prek


DrawingAttributes.OnAttributeChanged(PropertyDataChangedEventArgs) Method

Definition

Raises the AttributeChanged event.

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

Parameters

Exceptions

Remarks

Raising an event invokes the event handler through a delegate.

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

Notes to Inheritors

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

Applies to