Click or drag to resize

PropertyExtensionsGetPropertyContext Method

Gets the property context of the document node. If the provided node is not implementing IPropertyBagOwner, the parent nodes of this node are searched, until a node which implements IPropertyBagOwner is found.

Namespace: Altaxo
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static PropertyHierarchy GetPropertyContext(
	this IDocumentLeafNode node
)

Parameters

node  IDocumentLeafNode
The node for which the property context is retrieved.

Return Value

PropertyHierarchy
A PropertyHierarchy instance representing the property context of the provided document node.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IDocumentLeafNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also