Skip to content

MenuItemMarkupExtensions.Icon method

Sets this placement’s icon override.

public static MenuItem Icon(this MenuItem target, IconTemplate? value)
parameter description
target Target MenuItem.
value Value assigned to Icon.

The same element for chaining.

Sets: MenuItem.Icon