StylusPlugIn::ElementBounds Property

 

Gets the cached bounds of the element.

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

public:
property Rect ElementBounds {
	Rect get();
}

Property Value

Type: System.Windows::Rect

The cached bounds of the element.

The StylusPlugIn caches the bounds of its element to perform hit testing.

The following example demonstrates how a DynamicRenderer, which inherits from StylusPlugIn, uses an ImageBrush to render a stroke. This brush partially draws the image file specified by imageFile.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 3.0
Return to top
Show: