Microsoft
Software
Hardware
Network
Question : How do I use validation in WPF
How do I write this code?
Text="{Binding Data.Description,
// This is my question: ValidationRules syntax
ValidationRules={StaticRes
ource FieldCantBeNull},
ElementName=window, Mode=OneWay}" />
FieldCantBeNull is a ValidationRule. How is written if I use two validations in the same TextBox? I want to know write in a single line.
This format is the Blend format. Is there a way to write the ValidationRule automaticaly in Blend? I found hwo to write a Converter by not a Validator.
Thanks,
Marco Castro
Answer : How do I use validation in WPF
Isn't it possible to write this code in a single line? In this format:
Text="{Binding Data.Description,
ValidationRules={...I don´t know what comes here....},
ElementName=window, Mode=OneWay}"
Random Solutions
dsquery / dsget - different results, not able to pass results to dsget
How can I customize the windows password complexity error message that pops up after changing your password in Active Directory?
Visual basic version conflict
Dynamic population of dropdown list based on contents of another control
C# ASP.NET redirect to new browser window
Windows update fails - [Error number: 0x80072EFE] - What to do?
Need help creating a simple VBScript to change region settings in Vista
System resource exceeded.
Reversing cross tab
Exchnage Activesync and Android 2.0 Calendar Syncing issue