Back to Devexpress

PivotGridField.ExpandValue(Object) Method

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridfield-dot-expandvalue-x28-system-dot-object-x29.md

latest2.1 KB
Original Source

PivotGridField.ExpandValue(Object) Method

Expands the column/row that contains the specified value.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public void ExpandValue(
    object value
)
vb
Public Sub ExpandValue(
    value As Object
)

Parameters

NameTypeDescription
valueObject

An object which specifies the value in the grouping column/row that should be expanded.

|

Remarks

When the current field is placed within the Column Header Area the ExpandValue method expands the grouping column which corresponds to the current field that contains the specified value.

When the field is placed within the Row Header Area the ExpandValue method expands the grouping row that contains the specified value.

To expand all grouping rows/columns which correspond to the current field use the PivotGridField.ExpandAll method.

Grouping rows/columns which correspond to a field can be collapsed and expanded by end-users if the field’s PivotGridField.AllowExpand property is set to true.

See Also

ExpandAll()

AllowExpand

PivotGridField Class

PivotGridField Members

DevExpress.Xpf.PivotGrid Namespace