Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
345
igEditor Controls are not picking up global styles...since new release?
posted

I have applied update 10.1.20101.2018 and the Infragistic controls are now right aligned rather than picking up the global styles I have defined in Application.xaml.  They used to be correctly left aligned as per my styles.

The TextBlock and Combo styles below work fine, and I have changed them to right align to make sure they are being picked up.  However, the DateTimeEditor and MaskEditor and probably all Infragistic targets are not applying these styles.

Any ideas?

Bold styles not working.


        <!-- ============================= Style TextBlock -->
        <Style TargetType="{x:Type TextBlock}">
            <Setter Property="Margin" Value="2,0,2,0" />
            <Setter Property="VerticalAlignment" Value="Center" />
            <Setter Property="HorizontalAlignment" Value="Left" />
        </Style>
       
        <!-- ============================= Style ComboBox -->
        <Style TargetType="{x:Type ComboBox}">
            <Setter Property="Margin" Value="2,0,2,0" />
            <Setter Property="VerticalAlignment" Value="Top" />
            <Setter Property="HorizontalAlignment" Value="Left" />
        </Style>
       
        <!-- ============================= Style XamDateTimeEditor -->
        <Style TargetType="{x:Type igEditors:XamDateTimeEditor}">
            <Setter Property="Margin" Value="2,0,2,0" />
            <Setter Property="VerticalAlignment" Value="Top" />
            <Setter Property="HorizontalAlignment" Value="Left" />
        </Style>
       
        <!-- ============================= Style XamMaskEditor -->
        <Style TargetType="{x:Type igEditors:XamMaskedEditor}">
            <Setter Property="Margin" Value="2,0,2,0" />
            <Setter Property="VerticalAlignment" Value="Top" />
            <Setter Property="HorizontalAlignment" Value="Left" />
        </Style>