ControlValidationState enumeration
[This documentation is preliminary and is subject to change.]
Defines constants that specify the state of a control's ValidationErrors collection.
Syntax
public enum ControlValidationState
Public Enum ControlValidationState
public enum class ControlValidationState
Attributes
[Version]
[WebHostHidden()]
Members
The ControlValidationState enumeration has these members.
Member | Value | Description |
---|---|---|
Unknown | 0 | The ValidationErrors collection has not been instantiated. |
Valid | 1 | The ValidationErrors collection is empty. |
Invalid | 2 | The ValidationErrors collection is not empty. |
Requirements (device family)
Device family |
Universal |
API contract |
Windows.Foundation.UniversalApiContract, introduced version 1.0 |
Namespace |
Windows.UI.Xaml.Controls Windows::UI::Xaml::Controls [C++] |
Metadata |
Windows.Foundation.UniversalApiContract.winmd |