PropertyDefinition.AllowExpanding Property
Gets or sets whether the end-user is allowed to expand the property to get access to its nested properties. This is a dependency property.
Namespace: DevExpress.Xpf.PropertyGrid
Assembly: DevExpress.Xpf.PropertyGrid.v26.1.dll
NuGet Package: DevExpress.Wpf.PropertyGrid
Declaration
Property Value
| Type | Description |
|---|---|
| Nullable<AllowExpandingMode> | An AllowExpandingMode enumeration value. |
Available values:
| Name | Description |
|---|---|
| Default | Expands properties according to their type converters. |
| Never | Doesn’t expand any property. |
| ForceIfNoTypeConverter | Expands all properties that don’t have a type converter. |
| Force | Expands all properties. |
Remarks
If the AllowExpanding property is set to null, the property grid’s PropertyGridControl.AllowExpanding property specifies whether the end-user is allowed to expand the property.
If the AllowExpanding property is set to AllowExpandingMode.Default, the end-user is allowed to expand the property if it contains child properties.