ScrollableControl.SetScrollState(Int32, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Sets the specified scroll state flag.
protected:
void SetScrollState(int bit, bool value);
protected void SetScrollState (int bit, bool value);
member this.SetScrollState : int * bool -> unit
Protected Sub SetScrollState (bit As Integer, value As Boolean)
Parameters
- bit
- Int32
The scroll state flag to set.
- value
- Boolean
The value to set the flag.
Remarks
When the bit parameter is set to one of the fields of the ScrollableControl class, the SetScrollState method updates the state of the control to the value
parameter. For more information about the valid parameters and their values, see the GetScrollState method.