다음을 통해 공유


NumberBox.ValidationMode 속성

정의

잘못된 입력을 입력할 때 호출할 입력 유효성 검사 동작을 가져오거나 설정합니다.

public:
 property NumberBoxValidationMode ValidationMode { NumberBoxValidationMode get(); void set(NumberBoxValidationMode value); };
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
NumberBoxValidationMode ValidationMode();

void ValidationMode(NumberBoxValidationMode value);
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [get: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [set: Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
NumberBoxValidationMode ValidationMode();

void ValidationMode(NumberBoxValidationMode value);
public NumberBoxValidationMode ValidationMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
public NumberBoxValidationMode ValidationMode { [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] get; [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)] set; }
var numberBoxValidationMode = numberBox.validationMode;
numberBox.validationMode = numberBoxValidationMode;
Public Property ValidationMode As NumberBoxValidationMode

속성 값

특성
Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute

적용 대상