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
Create a MS Access Database with an SQL / Text File
SharePoint List: How to add google maps location
New Windows 2008 Server - 8 GB of memory, 3gb free nothing on it?
Enter data in a MSFlexgrid control
closing form without saving
Email report in PDF gives error
Runtime error 48. Error Loading .dll
SQL Express 2005 ODBC Connection Error 67 and 17
Setting folder and file permissions in C#
DataGrid Silverlight 3.0 Calculated Value In a Column