Delen via


RatingControl.InitialSetValue Property

Definition

Gets or sets the initial set rating value.

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

public:
 property int InitialSetValue { int get(); void set(int value); };
int InitialSetValue();

void InitialSetValue(int value);
public int InitialSetValue { get; set; }
var int32 = ratingControl.initialSetValue;
ratingControl.initialSetValue = int32;
Public Property InitialSetValue As Integer
<RatingControl InitialSetValue="int"/>

Property Value

Int32

int

The initial set rating value. The default is 1.

Applies to