StylusTip Enumeration
Specifies the tip to be used to draw a Stroke.
Assembly: PresentationCore (in PresentationCore.dll)
XMLNS for XAML: http://schemas.microsoft.com/winfx/2006/xaml/presentation, http://schemas.microsoft.com/netfx/2007/xaml/presentation
You can specify the shape of the tip that is used to draw Stroke objects by setting the DrawingAttributes::StylusTip property.
The following example demonstrates how to use two DrawingAttributes objects to simulate using a pen and a highlighter on the same InkCanvas. The highlighter's StylusTip property is set to Rectangle.
The example assumes the root element in the "XAML" file is a DockPanel called root. It also assumes that there is a Button called btnToggleHilighter and that the Click event has been connected to the event handler.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.