Sdílet prostřednictvím


ContextNodeBase 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 ContextNodeBase 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 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.
Protected method CreateSubNodeBase This member supports the InkAnalyzer infrastructure and is not intended to be used directly from your code.
Public method DeleteSubNode Deletes a child ContextNodeBase object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from 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 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 the 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.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method MoveSubNodeToPosition Reorders a specified child ContextNodeBase object to be at the specified index.
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 Returns a human-readable string typefor the ContextNodeBase object. (Overrides Object.ToString().)

Top

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 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

See Also

Reference

ContextNodeBase Class

System.Windows.Ink.AnalysisCore Namespace