-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
I have a usercontrol with this on the UserControl:
validation:Scope.ForInputTypes="{validation:InputTypes {x:Type TextBox},
{x:Type ComboBox},
{x:Type mui:ComboBoxEx},
{x:Type mui:TextBoxEx},
...
On the UserControl I have a TabControl. Each TabItemEx (adds Counter, a string dp) has the following:
Counter="{Binding (validation:Scope.Node).Children.Count, ElementName=CustomerSv}"
CustomerSv is a ScrollViewer inside the TabItemEx at the top level that contains all myu controls.
When I press OK, validation happens in my view model and the controls turn red as expected. However, Counter only ever shows "0" or "1". There are lots of invalid controls so the number should be > 1.
As I fix/update field values, the number goes to "0" properly, but never goes higher than "1".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels