Validation Summary in TabControl (Silverlight 4) -
Everyone here is my question. I am using MVVM pattern in my project and I have a usertrantol on which TabItems have tabs on those that have assumptions on them.
The main page looks like this:
& lt; UserControl & gt; & Lt; DataInput: Validation noise X: name = "validation summary" /> & Lt; Grid X: Name = "Layouts" & gt; & Lt; DataInput: Validation Summary / & gt; & Lt; TabControl x: name = "TabControl" & gt; & Lt; TabItem & gt; & Lt; MyUserControl1 DataContext = "{Binding}" /> & Lt; / TabItem & gt; & Lt; TabItem & gt; & Lt; MyUserControl2 DataContext = "{Binding}" /> & Lt; / TabItem & gt; & Lt; TabItem & gt; & Lt; MyUserControl2 DataContext = "{Binding}" /> & Lt; / TabItem & gt; & Lt; / TabControl & gt; & Lt; / Grid & gt; & Lt; / UserControl & gt;
And here is a sample code for TabItems:
& lt; UserControl & gt; & Lt; Grid & gt; & Lt; Text: ExtendedTextBox text = "{binding name, mode = double, valid and expansions = true, notional authorization = true}" /> & Lt; Data: Data Grid SelectedEystem = "{Binding Selected Values, Mode = Dual, Valid Non-Exposures = True, Notification Oneness = True}" /> & Lt; / Grid & gt; & Lt; / UserControl & gt;
Target for ValidationThe Beautiful Layout is set to Root but in fact, it is showing only visible errors for the visible (currently opened) tabs and I will show all the errors from all tabs How do I get this?
Walker, check it out:
Hope comes from hope!
Comments
Post a Comment