PropertyGrid.SelectedGridItem Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.