Skip to content

ToolBarItemMarkupExtensions.Text<T> method

Sets Text. Text shown instead of the command’s own, or null to show the command’s.

public static T Text<T>(this T target, string? value)
where T : ToolBarItem
parameter description
T Receiver type.
target Target ToolBarItem.
value Value assigned to Text.

The same element for chaining.

Sets: ToolBarItem.Text