ScrollableControl.SetScrollState(Int32, Boolean) 方法
定義
設定指定的捲動狀態旗標。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)
參數
- bit
- Int32
要設定的捲動狀態旗標。The scroll state flag to set.
- value
- Boolean
要設定旗標的值。The value to set the flag.
備註
當位參數設定為類別的其中一個欄位時 ScrollableControl ,方法會將 SetScrollState 控制項的狀態更新為 value
參數。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. 如需有效參數及其值的詳細資訊,請參閱 GetScrollState 方法。For more information about the valid parameters and their values, see the GetScrollState method.