Share via


InkDrawingNode Class

Represents a ContextNode for a collection of strokes that make up a drawing. This class cannot be inherited.

Namespace: System.Windows.Ink
Assembly: IAWinFX (in iawinfx.dll)
XML Namespace:  https://schemas.microsoft.com/winfx/2006/xaml/presentation

Syntax

'Declaration
Public NotInheritable Class InkDrawingNode
    Inherits ContextNode
'Usage
Dim instance As InkDrawingNode
public sealed class InkDrawingNode : ContextNode
public ref class InkDrawingNode sealed : public ContextNode
public final class InkDrawingNode extends ContextNode
public final class InkDrawingNode extends ContextNode
Not applicable.

Remarks

Drawings are strokes that are determined to be shapes or abstract sketches. They are generally any strokes that are not classified as writing strokes.

An InkDrawingNode cannot have any children.

Example

This example takes the result of GetShapeName and puts it into the Text property of a TextBox, selectedResultsTextBox.

selectedResultsTextBox.Text = drawingNode.GetShapeName()
selectedResultsTextBox.Text = drawingNode.GetShapeName();

Inheritance Hierarchy

System.Object
   System.Windows.Ink.ContextNode
    System.Windows.Ink.InkDrawingNode

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

InkDrawingNode Members
System.Windows.Ink Namespace