Skip to main content
A newer version of this page is available. .

BaseColumn.ActualHeaderWidth Property

Gets the column header’s width. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v19.1.Core.dll

Declaration

public double ActualHeaderWidth { get; }

Property Value

Type Description
Double

A Double value that is the column header’s width, in pixels.

Remarks

Column widths can be changed automatically, so that the total columns’ width matches the grid’s width. In this instance, changing the width of one column automatically changes the widths of other columns. This behavior is controlled by the view’s TableView.AutoWidth property. To obtain the actual width of columns, use their ActualHeaderWidth property.

To learn more, see Columns Layout and Width.

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

See Also