MenuFlyoutSubItem.Text Property


Gets or sets the text content of a MenuFlyoutSubItem.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.MenuFlyoutSubItem.Text.

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

void Text(winrt::hstring value);
public string Text { get; set; }
var string = menuFlyoutSubItem.text;
menuFlyoutSubItem.text = string;
Public Property Text As String
<MenuFlyoutSubItem Text="string"/>

Property Value


A string that specifies the text content of this MenuFlyoutSubItem. The default is an empty string.

Applies to