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
625
xamCheckBoxEditor column - change appearance of tri state check box
posted

I have a XamDataGrid with a XamCheckBox column in tri state mode. I am happy with the appearance of the true and false representation. However, I would like to change the indeterminate appearance so that rather than showing a dash in the box it would display a small question mark in the box. I have Path data to use for the question mark but can't see how to make it appear in the checkbox. How can this be done?

  • 138253
    Verified Answer
    Offline posted

    Hello,

     

    Thank you for your post. I have been looking into it and I created a sample project for you with the functionality you want. Basically I copied the default Style of the XamCheckEditor and I replaced the Rectangle that appears when the value is null with a Path as you want. Also in the future when you want to retemplate a control I can suggest you copy its default Style and change it, this way you won’t lose any of the built-in functionality. You can find the default Styles here by default:

     

    C:\Program Files (x86)\Infragistics\NetAdvantage 2013.1\WPF\DefaultStyles\

     

    Please let me know if this helps you or you need further assistance on this matter.

     

    Looking forward for your reply.

    XamCheckEditorNullState.zip