共用方式為


MenuFlyoutSubItem.Text 屬性

定義

取得或設定 MenuFlyoutSubItem的文字內容。

public:
 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"/>

屬性值

String

Platform::String

winrt::hstring

字串,指定這個 MenuFlyoutSubItem的文字內容。 預設為空字串。

適用於