Back to Devexpress

PropertyGridControl.Expand(String) Method

wpf-devexpress-dot-xpf-dot-propertygrid-dot-propertygridcontrol-dot-expand-x28-system-dot-string-x29.md

latest1.7 KB
Original Source

PropertyGridControl.Expand(String) Method

Expands the specified property or category.

Namespace : DevExpress.Xpf.PropertyGrid

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

NuGet Package : DevExpress.Wpf.PropertyGrid

Declaration

csharp
public virtual void Expand(
    string propertyPath
)
vb
Public Overridable Sub Expand(
    propertyPath As String
)

Parameters

NameTypeDescription
propertyPathString

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:

csharp
propertyGrid.Expand("<MyCategoryName>");

See Also

Collapse(String)

PropertyGridControl Class

PropertyGridControl Members

DevExpress.Xpf.PropertyGrid Namespace