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
You were disconnected from the Windows-based computer because of problems during the licensing protocol.
How to use the Switch case in the Report Expression effectively
Asp's Page ViewState
Cumulative Time that totals beyond 24 hours.
using a variable to define/select a range in excel VBA
How to configure license for terminal services on Windows 2008 if we have Volume License
Why does using TableDefs cause table to be used/locked?
IIS7 produces "HTTP Error 404. The requested resource is not found" when no www is used
Backup Exec VSS error
Migration to Exchange 2010 problems