Skip to main content

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.v24.2.dll

NuGet Package: DevExpress.Wpf.PropertyGrid

Declaration

public AllowExpandingMode? AllowExpanding { get; set; }

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.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AllowExpanding property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also