[]
        
(Showing Draft Content)

C1.Win.FlexGrid.C1FlexGridBase.UpdateScrollBarAnnotations

UpdateScrollBarAnnotations Method

UpdateScrollBarAnnotations(bool, bool)

Updates scrollbar annotations.

Declaration
public void UpdateScrollBarAnnotations(bool updateErrors = true, bool updateHighlighted = true)
Public Sub UpdateScrollBarAnnotations(Optional updateErrors As Boolean = True, Optional updateHighlighted As Boolean = True)
Parameters
Type Name Description
bool updateErrors

Set to false if you don't want to update error annotations. For optimization.

bool updateHighlighted

Set to false if you don't want to update highlighted annotations. For optimization.

Remarks

Call this method at any time to update all annotation types.

For example, if you need to update custom annotations and other annotation types are disabled, subscribe to ScrollBarAnnotationsUpdating or ScrollBarAnnotationsUpdated event then call this method.