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
265
XamNumericEditor is disabled but it doesn't grey out!
posted

Hello,

I am using XamNumericEditor in my application and at time when i want to disable it, it still shows active(White in color), unlike a normal TextBox. Although functionality is disabled but client gets confused like its still active.

Is there a way to disable + grey out it? Other than setting color property please.

Thanks in advance!

Parents
No Data
Reply
  • 5600
    Verified Answer
    Offline posted

    Hello,

    Which version of WPF product you are using(it's like 12.2.1000 for example). 

    This issue is resolved at latest Service Releases. 

    You can workaround this behaviour simply by adding Style trigger like:

    <Style TargetType="{x:Type ig:XamNumericEditor}" >
     <Style.Triggers>
       <Trigger Property="IsEnabled" Value="False">
          <Setter Property="Background" Value="Gray"></Setter>
       </Trigger>
     </Style.Triggers>
    </Style>


    Regards,

    Anastas


Children