Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PropertyGridControl.Expand(String) Method

Expands the specified property or category.

Namespace: DevExpress.Xpf.PropertyGrid

Assembly: DevExpress.Xpf.PropertyGrid.v24.2.dll

NuGet Package: DevExpress.Wpf.PropertyGrid

#Declaration

public virtual void Expand(
    string propertyPath
)

#Parameters

Name Type Description
propertyPath String

A String which specifies the property or category path.

#Remarks

To collapse an expanded property or category in code, use the PropertyGridControl.Collapse method.

Note

To expand a category in code, run the Expand method with category name in angle brackets as a parameter:

propertyGrid.Expand("<MyCategoryName>");
See Also