WindowsActionAttribute.Icon 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.
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.