Share via


RatingControl.InitialSetValue Property

Definition

Gets or sets the initial set rating value.

This documentation applies to WinUI 2 for UWP (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);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1")]
int InitialSetValue();

void InitialSetValue(int value);
public int InitialSetValue { get; set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1")]
public int InitialSetValue { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="1")] set; }
Public Property InitialSetValue As Integer
<RatingControl InitialSetValue="int"/>

Property Value

Int32

int

The initial set rating value. The default is 1.

Attributes
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Applies to