RatingControl.Caption Property


Gets or sets the text label for the control.

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

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

void Caption(winrt::hstring value);
public string Caption { get; set; }
var string = ratingControl.caption;
ratingControl.caption = string;
Public Property Caption As String
<RatingControl Caption="string"/>

Property Value


The text label for the control. The default is an empty string.

Applies to