ThumbButtonInfo.IsInteractive 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置一个值,该值指示用户是否可以与缩略图按钮交互。
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没有任何影响。