共用方式為


ThumbButtonInfo.IsInteractive 屬性

定義

取得或設定一個值,指示使用者是否能與縮圖按鈕互動。

public:
 property bool IsInteractive { bool get(); void set(bool value); };
public bool IsInteractive { get; set; }
member this.IsInteractive : bool with get, set
Public Property IsInteractive As Boolean

屬性值

true如果使用者能操作縮圖按鈕;否則,。 false 預設值為 true

備註

當屬性 IsInteractivefalse時,縮圖按鈕不會對 Click 事件做出反應。 不過,它 ImageSource 並沒有被調暗。 你可以用一個不互動的縮圖按鈕當作狀態圖示。

IsEnabled 屬性為 false,則 的 IsInteractive 設定不影響。

適用於

另請參閱