Share via


ContextNodeBase Members

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

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

Public Properties

  Name Description
Public property Id Gets the identifier of the ContextNodeBase object.
Public property Links Gets a collection of ContextLinkBase objects that represent relationships between other ContextNodeBase objects.
Public property Location Gets the position and size of the ContextNodeBase object.
Public property ParentNode Gets the parent node of the ContextNodeBase in the context node tree.
Public property PartiallyPopulated Gets or sets a value that indicates whether a ContextNodeBase object is partially populated or fully populated.
Public property SubNodes Gets the direct children of the ContextNodeBase object.
Public property Type Gets the context node type for this ContextNodeBase object.

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 InkAnalyzerBase can change about the node.
Public method ContainsPropertyData Returns true if the ContextNodeBase object contains application-specific data stored under the specified identifier.
Public method CreatePartiallyPopulatedSubNode For use with base classes only. Creates a child ContextNodeBase object that contains only the following information: Type, Id, and Location.
Public method CreateSubNode Creates a new child ContextNodeBase object.
Public method DeleteSubNode Deletes a child ContextNodeBase object.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetPacketData For use with base classes only. Gets the data packets that make up the stroke specified by the stroke identifier.
Public method GetPacketDescription For use with base classes only. Gets an array of type Guid that describes the types of packet data stored in the stroke with the specified identifier.
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 GetStrokeIds For use with base objects only. Returns an array of identifiers for the strokes within the ContextNodeBase object.
Public method GetTextRangeFromNodes Finds the text range in the recognized string that corresponds to a collection of context nodes.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method IsConfirmed Gets a value that indicates whether the ContextNodeBase object is confirmed. InkAnalyzerBase cannot change the node type and associated strokes for confirmed objects.
Public method IsStringSupported Overloaded. Indicates whether the recognized string of the current ContextNodeBase comes from the system dictionary, user dictionary, or word list. Any restricting data, like wordlists, guides or factoids, in any corresponding AnalysisHintNode is used to determine if the string is supported.
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 ContextNodeBase object to be at the specified index.
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 ContextNodeBase object from its current parent and adds it to another parent.
Public method ReparentStrokes For use with base objects only. Moves the strokes from this ContextNodeBase object to the specified ContextNodeBase 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 ContextNodeBase object.
Public method SetStrokes This method supports the InkAnalyzer infrastructure and is not intended to be used directly from your code.
Public method ToString Overridden. Returns a human-readable type for the ContextNodeBase object as a string.

Top

Protected Methods

  Name Description
Protected method CreateSubNodeBase This member supports the InkAnalyzer infrastructure and is not intended to be used directly from your code.
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

ContextNodeBase Class
System.Windows.Ink.AnalysisCore Namespace