SwipeItem.Text Property

Definition

Gets or sets the text description displayed on the item.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Controls.SwipeItem.Text (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

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 = swipeItem.text;
swipeItem.text = string;
Public Property Text As String
<SwipeItem Text="string"/>

Property Value

String

Platform::String

winrt::hstring

The text description displayed on the item. The default is an empty string.

Applies to