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