Back to Devexpress

PivotGridControl.RowTreeWidth Property

wpf-devexpress-dot-xpf-dot-pivotgrid-dot-pivotgridcontrol-c3058c5c.md

latest3.8 KB
Original Source

PivotGridControl.RowTreeWidth Property

Gets or sets the width of the innermost row field values when they are arranged into a tree. This is a dependency property.

Namespace : DevExpress.Xpf.PivotGrid

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

NuGet Package : DevExpress.Wpf.PivotGrid

Declaration

csharp
public int RowTreeWidth { get; set; }
vb
Public Property RowTreeWidth As Integer

Property Value

TypeDescription
Int32

An integer value that specifies the width of the innermost row field values, in pixels.

|

Remarks

PivotGrid ignores the Width property of row fields when the RowTotalsLocation property is Tree. Use the RowTreeWidth property to specify the width of the row area.

The following code snippets (auto-collected from DevExpress Examples) contain references to the RowTreeWidth 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.

wpf-pivot-grid-create-context-menu-for-field-values/CS/WpfPivotGrid_CustomMenu/MainWindow.xaml#L23

xml
</dxb:BarManager.Items>
<dxpg:PivotGridControl Name="pivotGrid" RowTreeWidth="130">
    <dxpg:PivotGridControl.Fields>

wpf-pivot-grid-change-summary-display-type/CS/HeaderMenuCustomizationExample/MainWindow.xaml#L11

xml
local:HeaderMenuHelper.AllowPopupMenuCustomization="True"
RowTreeWidth="130"
DataProcessingEngine="Optimized">

wpf-pivot-grid-show-top-n-values-in-context-menu/CS/ContextMenuToShowTopN_Example/MainWindow.xaml#L8

xml
<Grid>
    <dxpg:PivotGridControl RowTreeWidth="250" Name="pivotGridControl1"
                           PopupMenuShowing="pivotGridControl1_PopupMenuShowing"

wpf-pivot-grid-obtain-underlying-data/CS/ObtainUnderlyingData/MainWindow.xaml#L42

xml
<Grid>
    <dxpg:PivotGridControl x:Name="pivot" DataSource="{Binding DataSource}" RowTreeWidth="170"
                           DataProcessingEngine="Optimized">

See Also

RowTotalsLocation

PivotGridControl Class

PivotGridControl Members

DevExpress.Xpf.PivotGrid Namespace