This control created to display IValidationContext.

Inherits from Catel.Windows.Controls.UserControl.

The IValidationContext container allows querying of all validations of a model (ViewModel) object. So this control can be very useful when user accepting model (viewModel) changes (in dialogs, forms etc).

ValidationContextControl 01


Property name Description
AccentColorBrush Gets or sets accent color.
IsExpandedAllOnStartup Gets or sets value indicating whether all nodes of validation context tree expanded on startup.
ShowButtons Gets or sets whether Open and Copy buttons (see picture above) are visible.
ShowFilterBox Gets or sets whether FilterBox (see picture above) is visible.
ValidationContext Gets or sets displayed validation context.

How to use

Bind IValidationContext value to ValidationContext property of control.

<orc:ValidationContextView x:Name="validationContextView" 
                           ValidationContext="{Binding ValidationContext}"
                           IsExpandedAllOnStartup="True" />

Have a question about Catel or WildGums controls? Use StackOverflow with the Catel tag!