Using mui styles in modules

Dec 26, 2013 at 12:42 PM
Edited Dec 26, 2013 at 2:09 PM
My wpf app has no content only a shell page and my content are in a module. How do I reference the mui styles in the module?
 <Grid Style="{StaticResource ContentRoot}">
When there is more than one error the only option you have to read the error message is to set focus on the field. So why not add a tooltip to the TextBox template.
<Style x:Key="{x:Type TextBoxBase}" TargetType="{x:Type TextBoxBase}" BasedOn="{x:Null}">
            <Trigger Property="Validation.HasError" Value="true">
                <Setter Property="ToolTip" Value="{Binding RelativeSource={RelativeSource Self}, Path=(Validation.Errors).CurrentItem.ErrorContent}"/>
        <Setter Property="Foreground" Value="{DynamicResource InputText}" />