ContextNode Members
The following tables list the members exposed by the ContextNode type.
Public Properties
(see also Protected Properties )
Name | Description | |
---|---|---|
Id | Gets the identifier of the ContextNode object. | |
Links | Gets a collection of ContextLink objects that represent relationships to other ContextNode objects. | |
Location | Gets the position and size of the ContextNode object. | |
ParentNode | Gets the parent node of the ContextNode in the context node tree. | |
PartiallyPopulated | Gets or sets a value that indicates whether a ContextNode object is partially populated or fully populated. | |
Strokes | Gets the StrokeCollection associated with this ContextNode. | |
SubNodes | Gets the direct children of the ContextNode object. | |
Type | Gets the context node type for this ContextNode object. |
Top
Protected Properties
Name | Description | |
---|---|---|
IsInkLeaf | ||
IsUnknownType |
Top
Public Methods
(see also Protected Methods )
Name | Description | |
---|---|---|
AddPropertyData | Adds a piece of application-specific data. | |
Confirm | Sets the confirmation type, which restricts what the InkAnalyzer can change about the node. | |
ContainsPropertyData | Returns true if the ContextNode object contains application-specific data stored under the specified identifier. | |
CreatePartiallyPopulatedSubNode | Creates a child ContextNode object that contains only the following information: Type, Id, and Location. | |
CreateSubNode | Creates a new child ContextNode object. | |
DeleteSubNode | Deletes a child ContextNode object. | |
Equals | Overloaded. Overridden. Determines whether two ContextNode instances are equal. | |
GetHashCode | Overridden. | |
GetPropertyData | Returns application-specific data that was added with the specified identifier. | |
GetPropertyDataIds | Returns the identifiers for which there is property data. | |
GetType | Gets the Type of the current instance. (inherited from Object) | |
IsConfirmed | Returns whether the current ContextNode has been confirmed with the specified ConfirmationType. | |
LoadPropertiesData | Recreates the application-specific and internal property data for an array of bytes that was previously created with SavePropertiesData. | |
MoveSubNodeToPosition | Reorders a specified child ContextNode object so that it moves to the specified index. | |
op_Equality | Determines whether two specified ContextNode objects have the same value. | |
op_Inequality | Determines whether two specified ContextNode objects have different values. | |
ReferenceEquals | Determines whether the specified Object instances are the same instance. (inherited from Object) | |
RemovePropertyData | Removes a piece of application-specific data. | |
Reparent | Removes this ContextNode from its current parent and adds it to another parent. | |
ReparentStrokes | Moves a stroke from this ContextNode object to the specified ContextNode object. | |
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. | |
SetStrokes | Sets the specified strokes on a ContextNode object. | |
ToString | Overridden. Returns a human-readable type for the ContextNode object as a string. |
Top
Protected Methods
Name | Description | |
---|---|---|
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) | |
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