Back to Devexpress

PivotGridOptionsViewBase.RowTreeWidth Property

corelibraries-devexpress-dot-xtrapivotgrid-dot-pivotgridoptionsviewbase-2cb06b7c.md

latest3.2 KB
Original Source

PivotGridOptionsViewBase.RowTreeWidth Property

Gets or sets the width of the innermost row field values.

Namespace : DevExpress.XtraPivotGrid

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

NuGet Packages : DevExpress.PivotGrid.Core, DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(100)]
public virtual int RowTreeWidth { get; set; }
vb
<DefaultValue(100)>
Public Overridable Property RowTreeWidth As Integer

Property Value

TypeDefaultDescription
Int32100

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

|

Remarks

The RowTreeWidth property is in effect when the PivotGridOptionsViewBase.RowTotalsLocation is set to PivotRowTotalsLocation.Tree.

The following code snippet (auto-collected from DevExpress Examples) contains a reference 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.

winforms-pivot-change-the-field-value-header-appearance-backcolor/CS/WindowsApplication53/Form1.cs#L11

csharp
this.Load += Form1_Load;
pivotGridControl1.OptionsView.RowTreeWidth = 150;
PopulateTable();

winforms-pivot-change-the-field-value-header-appearance-backcolor/VB/WindowsApplication53/Form1.vb#L13

vb
AddHandler Me.Load, AddressOf Form1_Load
pivotGridControl1.OptionsView.RowTreeWidth = 150
PopulateTable()

See Also

RowTreeOffset

PivotGridOptionsViewBase Class

PivotGridOptionsViewBase Members

DevExpress.XtraPivotGrid Namespace