IStorageProviderUICommand.State 属性

定义

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”。 这些命令将可见,但无法单击。

适用于

另请参阅