Method SetThumbState
SetThumbState(bool, VisualControlState)
Sets the visual state of the scrollbar thumb based on the specified orientation.
public void SetThumbState(bool vert, VisualControlState value)
Parameters
vertboolA boolean value indicating the orientation of the scrollbar. true for vertical orientation; false for horizontal orientation.
valueVisualControlStateThe VisualControlState to set for the scrollbar thumb.
Remarks
This method updates the thumb state of either the vertical
or horizontal scrollbar, depending on the value of the
vert parameter. If the specified scrollbar is not
initialized, the method performs no action.
SetThumbState(VisualControlState)
Sets the thumb state for both vertical and horizontal scroll bars.
public bool SetThumbState(VisualControlState value)
Parameters
valueVisualControlStateThe state to set for the thumb of the scroll bars.
Returns
Remarks
This method updates the thumb state of both the vertical and horizontal scroll bars, if they are present.