Redigera

Dela via


PropertyGrid.SelectedGridItem Property

Definition

Gets or sets the selected grid item.

public:
 property System::Windows::Forms::GridItem ^ SelectedGridItem { System::Windows::Forms::GridItem ^ get(); void set(System::Windows::Forms::GridItem ^ value); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.GridItem SelectedGridItem { get; set; }
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.GridItem? SelectedGridItem { get; set; }
[<System.ComponentModel.Browsable(false)>]
member this.SelectedGridItem : System.Windows.Forms.GridItem with get, set
Public Property SelectedGridItem As GridItem

Property Value

The currently selected row in the property grid.

Attributes

Remarks

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.

Applies to