System.Windows.Forms.PropertyGrid.SelectedObject Property

Gets or sets the object for which the grid displays properties.

Syntax

[System.ComponentModel.TypeConverter("System.Windows.Forms.PropertyGrid+SelectedObjectConverter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
[System.ComponentModel.DefaultValue(null)]
public object SelectedObject { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

The PropertyGrid.SelectedObject property sets a single object into the grid to be browsed. If multiple objects are being browsed, this property returns the first one in the list. If no objects are selected, null is returned.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0