validationrules
jquery validate - check which rule is not fulfilled
I have a form with several fields and using jQuery validation plugin. My input has several rules: { required : \"#somecheckbox:not开发者_C百科(:checked)\",[详细]
2023-04-11 04:26 分类:问答ValidationRules within control template
I have control thats inherits from textbox public class MyTextBox : TextBox This has a style <Style TargetType=\"{x:Type Controls:MyTextBox}\">[详细]
2023-04-03 05:09 分类:问答WPF Binding.ValidationRules at Runtime
I\'m in the process of writing validation Rules to various controls in XAML. I would like to attach validationRules to controls at runtime and not in XAML. I was thinking of using Converters . but any[详细]
2023-03-28 09:14 分类:问答wpf validation rules problem with textbox
I created a class IntegersValidationRule which inherits from ValidationRule. Now I don\'t know what code should I write in XAML. That\'s what I hav开发者_如何学JAVAe:[详细]
2023-03-26 13:35 分类:问答ValidationRules without binding
I want to use the ValidationRules (and it\'s UI effects) on the textbox without actually binding anything to the textbox.[详细]
2023-03-10 14:51 分类:问答WPF validation - ValidatesOnTargetUpdated
I have a number of textboxes in a WPF app on which I have set up some validation. On load the app deserialises a class onto which the WPF window\'s controls are bound.[详细]
2023-03-04 13:22 分类:问答C# WPF Bindings, ValidationRule and default value
I new to WPF and C# and I have a problem with my application. I have a TextBox which I want to have a ValidationRule on to validate the text. Now I want to have a default value in the TextBox but i ca[详细]
2023-02-19 11:03 分类:问答Adding an ExceptionValidationRule to a Binding in code
I have been developing an ErrorProvider control that inherits from Decorator. It validates any elements within the control that are bound to something. It loops through every binding and within a Fram[详细]
2023-02-11 03:29 分类:问答Can we set property of source object, on validation?
I have a wpf-mvvm application. In the below code, \"PartBPremiumBuydown\" is an instance of a class. which has two properties => 1. Value. and 2. HasValidationError.[详细]
2023-02-09 02:21 分类:问答WPF Binding : Use DataAnnotations for ValidationRules
I have read a lot of Blog post on WPF Validation and on DataAnnotations. I was wondering if there is a clean way to use DataAnnotations as ValidationRules for my entity.[详细]
2023-02-08 21:00 分类:问答