Megosztás a következőn keresztül:


IStorageProviderUICommand.State Property

Definition

public:
 property StorageProviderUICommandState State { StorageProviderUICommandState get(); };
StorageProviderUICommandState State();
public StorageProviderUICommandState State { get; }
var storageProviderUICommandState = iStorageProviderUICommand.state;
Public ReadOnly Property State As StorageProviderUICommandState

Property Value

  • Hidden when the command should not display at all.
  • Disabled when the command should be visible and disabled.
  • Enabled when the command should be visible and enabled.

Remarks

When the State is Disabled, the command will be visible but not click-able. When the State is Enabled, the command will be visible and click-able.

Windows may choose to display "Hidden"-requested commands as "Disabled". Those commands will be visible but not click-able.

Applies to

See also