Back to Devexpress

BaseColumn.ActualWidth Property

wpf-devexpress-dot-xpf-dot-grid-dot-basecolumn-55a2a178.md

latest1.7 KB
Original Source

BaseColumn.ActualWidth Property

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

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.Core.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public double ActualWidth { get; }
vb
Public ReadOnly Property ActualWidth As Double

Property Value

TypeDescription
Double

A Double value that specifies the column’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 ActualWidth property.

To learn more, see Columns Layout and Width.

See Also

Move and Resize Columns

BaseColumn Class

BaseColumn Members

DevExpress.Xpf.Grid Namespace