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
1715
Need help setting up a Label template
posted

My client requires that a few of my column labels are not just text, but contain other UI elements like a checkbox (for select all functionality), and some other features. Since FIeld.Label is an object, I thought it respected normal WPF rules and I could just insert a System.Windows.Controls.Label object in there, with a checkbox, etc. It turns out, much of XamDataGrid's functionality is broken because of this (especially when it comes to grouping).

That being said, it seems that many examples I've seen for custimizing grid UI use control templates. I am not 100% familiar with them, but could someone please show me an example/pointer on which class to set a control template for so I can add additional UI to the label?

 Thanks!

-Szymon

Parents
No Data
Reply
  • 138253
    Offline posted

    Hello Szymon,

    I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.

    If the above suggestion helped you solve your issue please verify the thread as answered so other users may take better advantage of it.

Children
No Data