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

GridColumnHeaderBase.HasLeftSibling Property

Specifies whether the column has a sibling column displayed on its left. This is a dependency property.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public bool HasLeftSibling { get; set; }

Property Value

Type Description
Boolean

true if the column 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 HasLeftSibling and GridColumnHeaderBase.HasRightSibling properties indicate whether a column has sibling columns displayed on its left and right. These properties are used by the grid to determine whether it is required to paint a column header’s left/right edge.

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