Share via


WindowsActionAttribute.Icon Property

Definition

Gets or initializes the localizable icon for the action.

public:
 property Platform::String ^ Icon { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Icon();

void Icon(winrt::hstring value);
public string? Icon { get; init; }
var string = windowsActionAttribute.icon;
windowsActionAttribute.icon = string;
Public Property Icon As String

Property Value

An ms-resource string for an icon deployed with the app.

Applies to