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
User name disappeared on Welcome Screen
Activate an existing task in the tas scheduler
Need to restore a single mailbox from ntbackup
Entity Framework - Inserting row into a table which as a self referencing
how can I remove 2 or more favorites within IE 8 at the same time?
Looking for a utility that will automatically back up a file when the file has been modified and then saved with the same file name.
Search active directory by Date Created
VB.NET - Value was either too large or too small for a Decimal Exception - Smooth Progress Meter DLL from Microsoft
Insert formula to range
No keyboard or mouse at login screen after removing SP3 via Recovery Console