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

GridColumnHeaderBase.HasRightSibling Property

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

Namespace: DevExpress.Xpf.Grid

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

Declaration

public bool HasRightSibling { get; set; }

Property Value

Type Description
Boolean

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

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