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

TreeList.InvalidateScrollAnnotations() Method

Invalidates scrollbar annotations, and causes them to be redrawn.

Namespace: DevExpress.XtraTreeList

Assembly: DevExpress.XtraTreeList.v19.2.dll

Declaration

public virtual void InvalidateScrollAnnotations()

Remarks

The code below invalidates scrollbar annotations when a style changes.

void OnAnnotationsStyleChanged(object sender, ListChangedEventArgs e) {
    if(e.ListChangedType == ListChangedType.ItemChanged)
        TreeList.InvalidateScrollAnnotations();
}

Note

Run the Hierarchy Column module in the XtraTreeList MainDemo to see the complete example.

See Also