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
Correlated subquery in THEN clause of CASE statement
Enabling/Disabling Outlook Anywhere and ActiveSync in Exchange 2007
Analysis services - MDX date calculation
How can I get an accurate age to display in an Access form?
Summarizing Data using Access 2007 and Excel 2007
Can't login into Windows XP
Microsoft Office Communicator 2007 R2 auto login enternally what not a member of Domain??
Windows Media player wont play Netflix online movies
Repaint UserControl in DesignTime
How can I change the identity property of a column without setting the wrong seed?