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
1700
XamNumericEditor : Issue with style
posted

Hello,

I have a XamNumericEditor, the field is optional so I want to restyle the IsEnable trigger.

Please find my style attached.

I don't manage to see the field in red when the field is disable.

Could you please help me ?

Regards

IpAddressEditor.zip
Parents
No Data
Reply
  • 34810
    Offline posted

    Hello teamtim,

    Thank you for your post!

    I have been investigating into this issue, and I have created a sample project that uses the exact sample resource dictionary that you have attached, but I cannot seem to reproduce the behavior you are seeing. I have attached the sample project I used to test this. Please test this on your machine, as the resultant behavior may help to further indicate the nature of this issue. Also, my test was made using version 15.1.20151.2055 in Infragistics for WPF 2015 Volume 1. Does this version match the version you are using?

    There are a couple of other questions that I have for you on this matter as well, regarding the disabled field that you are hoping to see in red in this case. First, are you applying any other styles to it, such as a separate EditorStyle or a CellValuePresenterStyle? Second, have you verified that this field is indeed using a XamNumericEditor as its editor? You can fully ensure that this is the case by setting the EditorType property on your field to {x:Type igEdit:XamNumericEditor}.

    Please let me know if you have any other questions or concerns on this matter.

    Sincerely,
    Andrew
    Associate Developer
    Infragistics Inc.
    www.infragistics.com/support

    XDGIsEnabledStylingCase.zip
Children