Share via


Slider.Interval 屬性

定義

取得或設定時間 (以毫秒為單位),這是使用者按一下 RepeatButtonSlider 時,執行增加或減少命令之間的時間間隔。

public:
 property int Interval { int get(); void set(int value); };
[System.ComponentModel.Bindable(true)]
public int Interval { get; set; }
[<System.ComponentModel.Bindable(true)>]
member this.Interval : int with get, set
Public Property Interval As Integer

屬性值

以毫秒為單位的時間,這是變更 SliderValue 命令之間的時間間隔。 預設為系統按鍵重複速度。 如需詳細資訊,請參閱 SystemParametersInfo (SPI_GETKEYBOARDSPEED) 。

屬性

備註

當 包含在 StyleSlider 中時 RepeatButton ,會使用這個屬性。

相依性屬性資訊

識別碼欄位 IntervalProperty
中繼資料屬性設定為 true

適用於