Compartir a través de


ContextNode Members

The following tables list the members exposed by the ContextNode type.

Public Properties

(see also Protected Properties )

  Name Description
Public property Id Gets the identifier of the ContextNode object.
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 StrokeCollection 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

Protected Properties

  Name Description
Protected property IsInkLeaf  
Protected property IsUnknownType  

Top

Public Methods

(see also Protected 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 Overloaded. Overridden. Determines whether two ContextNode instances are equal.
Public method GetHashCode Overridden.  
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 Returns whether the current ContextNode has been confirmed with the specified ConfirmationType.
Public method LoadPropertiesData Recreates the application-specific and internal property data for an array of bytes that was previously created with SavePropertiesData.
Public method MoveSubNodeToPosition Reorders a specified child ContextNode object so that it moves to the specified index.
Public method Static op_Equality Determines whether two specified ContextNode objects have the same value.
Public method Static op_Inequality Determines whether two specified ContextNode objects have different values.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
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 Overridden. Returns a human-readable type for the ContextNode object as a string.

Top

Protected Methods

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)

Top

See Also

Reference

ContextNode Class
System.Windows.Ink Namespace
InkAnalyzer.Analyze
InkAnalyzer.RootNode
System.Windows.Ink.ContextNodeType