DynamicRenderer.OnDrawingAttributesReplaced Method ()

 
System_CAPS_noteNote

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

Occurs when the DrawingAttributes property changes.

Namespace:   System.Windows.Input.StylusPlugIns
Assembly:  PresentationCore (in PresentationCore.dll)

protected virtual void OnDrawingAttributesReplaced()

Notes to Inheritors:

When overriding OnDrawingAttributesReplaced in a derived class, be sure to call the base class’s OnDrawingAttributesReplaced method.

The following example overrides the OnDrawingAttributesReplaced method.

protected override void OnDrawingAttributesReplaced()
{
    base.OnDrawingAttributesReplaced();

    MessageBox.Show(this.DrawingAttributes.Color.ToString());
}

.NET Framework
Available since 3.0
Return to top
Show: