PropertyGrid.SelectedGridItem Property

 

Gets or sets the selected grid item.

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

[BrowsableAttribute(false)]
public GridItem SelectedGridItem { get; set; }

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: