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!
Can you please specify clearly which version supports the issue we resolved? Can you mention the URL where I can find that?
Thanks and Best Regards.
You are welcome. I'm glad that you were able to resolve it.
Regards,
Anastas
Leave the later part. I resolved it with:
<Setter Property="Background" Value="LightGray" /> <Setter Property="Foreground" Value="Gray" />
Thanks anyways. :)
Thanks for the reply.
Okay. I will upgrade the version in the next application.
I used the style and its better then before and all that I tried by myself. Thanks again for that. :)
But can we make the Gray color more light and the text color also more dull? Like in a simple TextBox as we see.
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>