GridItem.Expandable Property

Definition

When overridden in a derived class, gets a value indicating whether the specified property is expandable to show nested properties.

public virtual bool Expandable { get; }

Property Value

true if the specified property can be expanded; otherwise, false. The default is false.

Remarks

If a property is expandable, a plus (+) sign is displayed by the property name in the PropertyGrid. If the plus sign is clicked and no nested properties are available, the plus sign is then removed.

Applies to

Product Versions
.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, 10