TreeList.InvalidateScrollAnnotations() Method
Invalidates scrollbar annotations, and causes them to be redrawn.
Namespace: DevExpress.XtraTreeList
Assembly: DevExpress.XtraTreeList.v24.2.dll
Declaration
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