A newer version of this page is available. Switch to the current version.

ScrollBarAnnotationInfo Class

Contains information about the layout and appearance of a particular type of scrollbar annotation marks.

Namespace: DevExpress.Xpf.Grid

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


public class ScrollBarAnnotationInfo :


When using the scrollbar annotation functionality, you can manually customize the look-and-feel of annotation marks. To customize annotation marks of a particular type, pass the ScrollBarAnnotationInfo instance to the corresponding property of the ScrollBarAnnotationsAppearance class.

The code sample below demonstrates how to customize the look and feel of annotation marks that correspond to invalid rows.

<dxg:GridControl ...>
        <dxg:TableView ScrollBarAnnotationMode="All">
                        <dxg:ScrollBarAnnotationInfo Alignment="Right" MinHeight="3" Brush="Red"/>


See Also