Strokes Property
Collapse the table of content
Expand the table of content

InkPresenter::Strokes Property

 

Gets and sets the strokes that the InkPresenter displays.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property StrokeCollection^ Strokes {
	StrokeCollection^ get();
	void set(StrokeCollection^ value);
}

Property Value

Type: System.Windows.Ink::StrokeCollection^

The strokes that the InkPresenter displays.

Identifier field

StrokesProperty

Metadata properties set to true

None

The following example programmatically creates a stroke and adds it to the InkPresenter. The example assumes that the Loaded event is connected to the event handler, WindowLoaded.

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

.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show:
© 2016 Microsoft