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
Best way to export Distribution group names, users, and email addresses from Exchange 2003.
Need to pull Certain Info from a Website and import it to Excel
Access 2007 disabling text box control on form load
DataGridView AutoResizeColumns() not working with
Archiving Exchange messages in PST files
How do I retrieve text from a website
Installing MS-DOS 3.20 in Bochs
GAL does not show when trying to Delegate in outlook 07
Keyboard shortcut to close database window
Automatically backup a PST file without closing it.