Udostępnij za pośrednictwem


IStorageProviderUICommand.Label Property

Definition

Returns the IStorageProviderUICommand label

public:
 property Platform::String ^ Label { Platform::String ^ get(); };
winrt::hstring Label();
public string Label { get; }
var string = iStorageProviderUICommand.label;
Public ReadOnly Property Label As String

Property Value

String

Platform::String

winrt::hstring

Remarks

Depending on the placement of the command in the flyout, this label may appear on the command button itself or as a tooltip. As the flyout stands today, the following commands will display a label within the command button:

Each of the secondary commands, ProviderSecondaryCommands, will display the label as a tooltip.

For all of the commands, this label is read aloud by the screen reader.

Windows may choose to display "Hidden"-requested commands as "Disabled". This property must be specified and non-empty even if IStorageProviderUICommand.State is Hidden.

Applies to

See also