CommonMessagePump.AllowCancel 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
确定等待对话框是否有启用的 "取消" 按钮。
public:
property bool AllowCancel { bool get(); void set(bool value); };
public:
property bool AllowCancel { bool get(); void set(bool value); };
public bool AllowCancel { get; set; }
member this.AllowCancel : bool with get, set
Public Property AllowCancel As Boolean
属性值
true 如果等待对话框具有已启用的 "取消" 按钮,则为; 否则为 false 。
注解
这可以在调用 ModalWaitForHandles 之前或在 ModalWaitForHandlesWithClient 中的某个回调期间设置。