Udostępnij za pośrednictwem


IUICommand Interface

Definition

Represents a command in a context menu or message dialog box.

public interface class IUICommand
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1341733493, 16709, 18431, 172, 127, 223, 241, 193, 250, 91, 15)]
struct IUICommand
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1341733493, 16709, 18431, 172, 127, 223, 241, 193, 250, 91, 15)]
public interface IUICommand
Public Interface IUICommand
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

Id

Gets or sets the identifier of the command.

Invoked

Gets or sets the handler for the event that is fired when the user invokes the command.

Label

Gets or sets the label for the command.

Applies to

See also