python (65.2k questions)
javascript (44.3k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (13k questions)
Validation rule property: how to bind without using dependency properties
In my WPF MVVM app I have a TextBox which has bound a validation rule.
In validation rule class I have below property:
public bool CanBeValidated { get; set; } = false;
Then in the view my TextBox ha...

Willy
Votes: 0
Answers: 1
WPF TextBox not displaying validation error message
I have bound a validation rule to my WPF TextBox in order to control what user types in.
WPF TextBox:
<TextBox Grid.Column="0"
Grid.Row="1"
IsEnab...

Willy
Votes: 0
Answers: 1
Setting Validation.ErrorTemplate as Style on a WPF TextBox is causing a binding error exception
In my WPF app I have a below resource:
<ResourceDictionary>
<Style x:Key="OnErrorTextBoxStyle" TargetType="{x:Type TextBox}">
<Style.Triggers>
...

Willy
Votes: 0
Answers: 1