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.WpfPropertyGridAssembly: Mindscape.WpfPropertyGrid (in Mindscape.WpfPropertyGrid)
Version: 1.0.0.0 (1.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.