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
asp.net Why does'nt these required fields work. Only the Phone field works?
Access 2007 Linked to Sharepoint with Drop-downs - type mismatch
Remove first 5 characters from SQL
Combo Box List index
Access 2003 - Upon opening DB, .dlls and .ocx errors
Missing References
Pivot on two columns
Cisco ASA 5510 ASDM - Allowing PING AND TRACECERT through
Find bottom level of an SQL Tree
How To Disable CTRL-COMMA Shortcut ?