IStorageProviderUICommand.State Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the IStorageProviderUICommand state (StorageProviderUICommandState)
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.