Skip to main content

CellContentPresenter.HasLeftSibling Property

Indicates whether the cell belongs to a column that has a sibling column displayed on its left. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

NuGet Package: DevExpress.Wpf.Grid.Core

Declaration

public bool HasLeftSibling { get; set; }

Property Value

Type Description
Boolean

true if the cell belongs to a column that has a sibling column displayed on its left; otherwise, false.

Remarks

A View can display fixed (anchored to the left or right edge) and scrollable columns. When fixed, columns are not horizontally scrolled with a View, and are separated from other columns by a vertical line. A scrollable column and a fixed column are not sibling columns. Columns fixed to different edges are also not sibling columns.

SiblingColumns

The BaseColumn.HasRightSibling and BaseColumn.HasLeftSibling properties indicate whether a column has sibling columns displayed on its left and right. For instance, these properties are used by the grid to determine whether it is required to paint a column header’s left/right edge.

See Also