ContextNode Members

Include Protected Members
Include Inherited Members

Include .NET Framework Members
Include .NET Compact Framework Members
Include XNA Framework Members

Represents a node in a tree of objects that are created as part of ink analysis.

The ContextNode type exposes the following members.

Methods

  Name Description
Public method AddPropertyData Adds a piece of application-specific data.
Public method Confirm Sets the confirmation type, which restricts what the InkAnalyzer can change about the node.
Public method ContainsPropertyData Returns true if the ContextNode object contains application-specific data stored under the specified identifier.
Public method CreatePartiallyPopulatedSubNode Creates a child ContextNode object that contains only the following information: Type, Id, and Location.
Public method CreateSubNode Creates a new child ContextNode object.
Public method DeleteSubNode Deletes a child ContextNode object.
Public method Equals Determines whether the specified ContextNode is equal to the current ContextNode. (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Gets the hash code for the ContextNode instance. (Overrides Object.GetHashCode().)
Public method GetPropertyData Returns application-specific data that was added with the specified identifier.
Public method GetPropertyDataIds Returns the identifiers for which there is property data.
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method IsConfirmed Gets a value that indicates whether the ContextNode object is confirmed. InkAnalyzer cannot change the node type and associated strokes for confirmed objects.
Public method LoadPropertiesData Recreates the application-specific and internal property data for an array of bytes that was previously created with SavePropertiesData.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveSubNodeToPosition Reorders a specified child ContextNode object so that it moves to the specified index.
Public method RemovePropertyData Removes a piece of application-specific data.
Public method Reparent Removes this ContextNode from its current parent and adds it to another parent.
Public method ReparentStrokes Moves a stroke from this ContextNode object to the specified ContextNode object.
Public method SavePropertiesData Returns an array of bytes that can be stored and later used to recreate application-specific and internal property data on a ContextNode object.
Public method SetStrokes Sets the specified strokes on a ContextNode object.
Public method ToString Returns a human-readable type for the ContextNode object as a string. (Overrides Object.ToString().)

Top

Operators

  Name Description
Public operatorStatic member Equality Determines whether two specified ContextNode objects have the same value.
Public operatorStatic member Inequality Determines whether two specified ContextNode objects have different values.

Top

Properties

  Name Description
Public property Id Gets the identifier of the ContextNode object.
Protected property IsInkLeaf Infrastructure. This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Protected property IsUnknownType Infrastructure. This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Public property Links Gets a collection of ContextLink objects that represent relationships to other ContextNode objects.
Public property Location Gets the position and size of the ContextNode object.
Public property ParentNode Gets the parent node of the ContextNode in the context node tree.
Public property PartiallyPopulated Gets or sets a value that indicates whether a ContextNode object is partially populated or fully populated.
Public property Strokes Gets the Strokes associated with this ContextNode.
Public property SubNodes Gets the direct children of the ContextNode object.
Public property Type Gets the context node type for this ContextNode object.

Top

See Also

Reference

ContextNode Class

Microsoft.Ink Namespace