अंग्रेज़ी में पढ़ें संपादित करें

इसके माध्यम से साझा किया गया


PropertyGrid.SelectedObject Property

Definition

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

[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.PropertyGrid+SelectedObjectConverter))]
public object SelectedObject { get; set; }
[System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.PropertyGrid+SelectedObjectConverter))]
public object? SelectedObject { get; set; }

Property Value

The first object in the object list. If there is no currently selected object the return is null.

Attributes

Remarks

The 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.

Applies to

उत्पाद संस्करण
.NET Framework 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9