語言

Slider.Delay 屬性

定義

在執行RepeatButtonThumb執行前,可以設定 a DecreaseLarge 在按下執行時等待的時間(以毫秒計)來執行,例如指令。

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

屬性值

時間延遲以毫秒計。 預設是系統按鍵延遲。 如需詳細資訊,請參閱KeyboardDelay。

屬性

備註

當 a RepeatButton 包含在 的樣式中 Slider時,會使用此性質。 預設的樣式Slider包含兩個隱形RepeatButton控制項,分別使用與 Thumb之間的空間Track。當你按下其中一個隱形按鈕時,屬性套用後Slider,它Thumb會向那個方向移動Delay。

相依財產資訊

Item 價值觀
識別碼欄位 DelayProperty
元資料屬性設為 true None

適用於