IStorageProviderUICommand.State 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public:
property StorageProviderUICommandState State { StorageProviderUICommandState get(); };
StorageProviderUICommandState State();
public StorageProviderUICommandState State { get; }
var storageProviderUICommandState = iStorageProviderUICommand.state;
Public ReadOnly Property State As StorageProviderUICommandState
属性值
- 当命令根本不显示时,隐藏。
- 在命令应可见和禁用时禁用。
- 应显示并启用命令时启用。
注解
当状态为“禁用”时,该命令将可见,但不可单击。 启用状态后,命令将可见且可单击。
Windows 可以选择将“Hidden”请求的命令显示为“Disabled”。 这些命令将可见,但无法单击。