Template10.Validation | Windows UWP XAML/C # apps , developers will discover | Speech library
kandi X-RAY | Template10.Validation Summary
kandi X-RAY | Template10.Validation Summary
In Windows UWP XAML/C# apps, developers will discover that input controls do not support DataAnnotation or ExceptionValidationRule or IDataErrorInfo or INotifyDataErrorInfo or BindingValidationError. Even if the platform included these capabilities, there are significant limitations to each that make them a limiting option for application with significant real-world data validation requirements.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Template10.Validation
Template10.Validation Key Features
Template10.Validation Examples and Code Snippets
Community Discussions
Trending Discussions on Template10.Validation
QUESTION
I'm developing an app and I'm using Template 10 and MVVM pattern for databing purposes, anyways
I have a DatePicker and a combobox, when ever I set the combobox via a contructor or a navigating to a page event the combobox gets set and display the value is set.
My combobox is use to set fortnight (24 different choices) so i wanted to add the event that whenever I changed the datepicker event i automatically sets the fortnight at the combobox displaying the proper fortnight accordingly to the date chosen.
But when ever i set a new date my combobox get blank or a empty value, displaying nothing, my converter register the conversion of my enum to an int value, but it isnt shown at my combo box this is my xaml for my controls:
...ANSWER
Answered 2018-Jan-13 at 23:34I solve it, but I had to use conventional events and leave a side my viewmodel x:bind methods. I just put an event at datepicker at DateChanged event and set the combobox index in code behind. this is my xaml and code behind code.
I didnt like the solution but since I dont want to stop here just for that it'll work while I find out how to solve it entirely using MVVM pattern.
hopefully somebody has a better solution than me.
this is my code:
XAML:
QUESTION
I want to modify "Template10.Validation" style when Validation error is happened. Here is my Target style.
and I tried .. but There is strange errors...
...ANSWER
Answered 2017-Sep-21 at 10:58For your requirement, you could create ErrorTextBoxStyle
for the TextBox
that has been verifyed. And use it in the follwing ControlWrapper
ControlTemplate.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Template10.Validation
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page