通过


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

注解

IsInteractive当属性为false时,缩略图按钮不会响应Click事件。 但是,不 ImageSource 变暗。 可以使用不交互的缩略图按钮作为状态图标。

IsEnabled如果该属性为false,则设置IsInteractive没有任何影响。

适用于

另请参阅