NumberBox.Value Eigenschaft

Definition

Dient zum Abrufen oder Festlegen des numerischen Werts eines NumberBox-Steuerelements.

Diese Dokumentation gilt für WinUI 2 für UWP (für WinUI im Windows App SDK, siehe Windows App SDK Namespaces).

public:
 property double Value { double get(); void set(double value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="std::numeric_limits<double>::quiet_NaN()")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="std::numeric_limits<double>::quiet_NaN()")]
double Value();

void Value(double value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="std::numeric_limits<double>::quiet_NaN()")]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="std::numeric_limits<double>::quiet_NaN()")]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="std::numeric_limits<double>::quiet_NaN()")]
double Value();

void Value(double value);
public double Value { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="std::numeric_limits<double>::quiet_NaN()")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="std::numeric_limits<double>::quiet_NaN()")] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="std::numeric_limits<double>::quiet_NaN()")]
public double Value { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="std::numeric_limits<double>::quiet_NaN()")] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValue(value="std::numeric_limits<double>::quiet_NaN()")] set; }
Public Property Value As Double

Eigenschaftswert

Double

double

Attribute
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyDefaultValueAttribute

Hinweise

Text ist vorhanden, um die Zeichenfolgendarstellung der numerischen Inhalte dieser Eigenschaft zu kennzeichnen, ohne dass die Typkonvertierung erforderlich ist. Beachten Sie, dass der Inhalt dieser Eigenschaft den Inhalt von Text in der ersten Einrichtung überschreibt. Nach der anfänglichen Einrichtung werden Änderungen an einem Anderen progrogatet, aber durch diese Eigenschaft wird konsequent programmgesteuerte Änderungen vorgenommen, um konzeptionelle missverständnisse zu vermeiden, dass NumberBox nicht numerische Zeichen über die Text-Eigenschaft akzeptiert.

Gilt für: