DrawSortTriangleAlways Property
Description
The DrawSortTriangleAlways property specifies when the sort triangle is drawn.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property DrawSortTriangleAlways() As Boolean
Remarks
If DrawSortTriangleAlways is TRUE, the sort triangle displayed in column headers when a column is sorted will always be shown as long as the column size is large enough to draw the triangle.
If DrawSortTriangleAlways is FALSE, the triangle will be removed when the column size is too small to display both the caption and triangle. In this case, only the caption will be drawn. If the column size is too small to display the entire caption, the caption will be abbreviated with ellipses.
By default, this property is TRUE.
Example
This sample illustrates how to hide the sort triangle when the column width is too small to display both the column caption and the sort arrow.
' The sort triangle will be hidden if the column width is too small to display both
' the caption and sort arrow.
wndGridControl.PaintManager.DrawSortTriangleAlways = False
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.