PropertyGrid::SelectedGridItem Property

 

Gets or sets the selected grid item.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
[BrowsableAttribute(false)]
property GridItem^ SelectedGridItem {
	GridItem^ get();
	void set(GridItem^ value);
}

Property Value

Type: System.Windows.Forms::GridItem^

The currently selected row in the property grid.

Each GridItem corresponds to a property of the SelectedObject.

You can use the returned GridItem to view type information, the PropertyDescriptor, the parent, and the children of the selected object.

.NET Framework
Available since 1.1
Return to top
Show: