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
60
Custom style to the Masked editor
posted

How can I apply a custom style to the Masked editor

  • 5
    posted

    define style in window's resources as

     

     

     

     

     

     

     

     

     

    <Style TargetType="{x:Type infrae:XamMaskedEditor}" x:Key ="maskStyle">

     

     

     

    <Setter Property="Background">

     

     

     

    <Setter.Value>

     

     

     

    <SolidColorBrush Color="Red"></SolidColorBrush>

     

     

     

    </Setter.Value>

     

     

     

    </Setter>

     

     

     

    </Style>

    Apply this style as:

     

     

     

     

    <infrae:XamMaskedEditor Style="{StaticResource maskStyle}" >

     

     

     

     

     

    </infrae:XamMaskedEditor>