PropertyGrid.SelectedObject Property
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 object for which the grid displays properties.
public:
property System::Object ^ SelectedObject { System::Object ^ get(); void set(System::Object ^ value); };
[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; }
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Forms.PropertyGrid+SelectedObjectConverter))>]
member this.SelectedObject : obj with get, set
Public Property SelectedObject As Object
The first object in the object list. If there is no currently selected object the return is null
.
- Attributes
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.
उत्पाद | संस्करण |
---|---|
.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 |
.NET प्रतिक्रिया
.NET एक ओपन सोर्स प्रोजेक्ट है. प्रतिक्रिया प्रदान करने के लिए लिंक का चयन करें: