Reputation: 1827
is there any control like RequiredFeild control (asp.net) in windows 8 metro? I have a simple form with several text boxes and I just want to make sure to prevent submit it when a textbox is empty. I know it can be easy in code but I'm eager to know are there any alternative ways?
Upvotes: 3
Views: 624
Reputation: 5793
You might want to use WinRT XAML Toolkit:
TextBoxValidationExtensions - extensions that allow to specify the Format of the requested Text input as well as brushes to use to highlight a TextBox with valid or invalid Text.
I'm assuming you actually want to validate the input.
Upvotes: 2