Share via


ColorPicker.MinValue 属性

定义

获取或设置 0-100 范围内的最小值。

public:
 property int MinValue { int get(); void set(int value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
int MinValue();

void MinValue(int value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
int MinValue();

void MinValue(int value);
public int MinValue { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")]
public int MinValue { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="0")] set; }
var int32 = colorPicker.minValue;
colorPicker.minValue = int32;
Public Property MinValue As Integer
<ColorPicker MinValue="int" .../>

属性值

Int32

int

0-100 范围内的最小值。 默认值为 100。

属性
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

注解

Value 值的有效范围为 0-100。 设置超出此范围的值将导致异常。

适用于