Adds a top-level node to the grid. The node represents a property of an object that is not managed by the grid.

Namespace:  Mindscape.WpfElements
Assembly:  Mindscape.WpfElements (in Mindscape.WpfElements.dll)
Version: 3.0.0.0 (3.0.0.0)

Syntax

C#
public Node AddPropertyNode(
	Object source,
	string propertyName,
	string caption
)
Visual Basic (Declaration)
Public Function AddPropertyNode ( _
	source As Object, _
	propertyName As String, _
	caption As String _
) As Node

Parameters

source
Type: System..::.Object
The object whose property is to be added to the grid.
propertyName
Type: System..::.String
The name of the property to be added to the grid.
caption
Type: System..::.String
The display name for the property.

Return Value

The Node object added to the grid.

See Also