Επεξεργασία

Κοινή χρήση μέσω


ScrollableControl.SetScrollState(Int32, Boolean) Method

Definition

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.

Applies to

See also