PropertyGridControl.Collapse(String) Method
In This Article
Collapses the specified property or category.
Namespace: DevExpress.Xpf.PropertyGrid
Assembly: DevExpress.Xpf.PropertyGrid.v24.2.dll
NuGet Package: DevExpress.Wpf.PropertyGrid
#Declaration
#Parameters
Name | Type | Description |
---|---|---|
property |
String | A String which specifies the property or category path. |
#Remarks
To expand a collapsed property in code, use the PropertyGridControl.Expand method.
Note
To collapse a category in code, run the Collapse method with category name in angle brackets as a parameter:
propertyGrid.Collapse("<MyCategoryName>");
See Also