MenuFlyoutItem.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 sets the graphic content of the menu flyout item.
public:
property IconElement ^ Icon { IconElement ^ get(); void set(IconElement ^ value); };
IconElement Icon();
void Icon(IconElement value);
public IconElement Icon { get; set; }
var iconElement = menuFlyoutItem.icon;
menuFlyoutItem.icon = iconElement;
Public Property Icon As IconElement
<MenuFlyoutItem Icon="symbolName" .../>
- or -
<MenuFlyoutItem>
<MenuFlyoutItem.Icon>
iconElement
</MenuFlyoutItem.Icon>
</MenuFlyoutItem>
Property Value
The graphic content of the menu flyout item.
Windows requirements
Device family |
Windows 10 Creators Update (introduced in 10.0.15063.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v4.0)
|