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
Priniting report causes error "2212 couldn't print object"
Need to create an AR Aging Query
C#: CreateNoWindow not working
Hiding RUN and FIND lines of Start Menu
Access 2007 Header / Footer Bug?
create query in mdb using ADO and A2k
runtime error when creating image from stream of bytes (Parameter is not valid)
How to avoid the Sum of column rounding to .02 more than actual.
how run a macro(that does some tests) the moment MS Acess fires
Proxy Settings