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
885
Column header button icon
posted

Hi,

Anyway I could apply custom icon to the grid column header?

Thanks! 

 

 

Parents
  • 469350
    Verified Answer
    Offline posted

    Yes, you could use the column.Header.Appearance.Image property.

    EDIT: Oh... I missed the word "button", there. The code I posted above will only give you an image in the column header, not a button.If you need a button, you would have to use a CreationFilter Check the Infragistics Knowledge Base for articles and samples of adding buttons to controls using CreationFilters.  Also, get the Infragistics UIElementViewer Utility.

    You could, of course, just use the image and then trap for when the user clicks on the image using ElementFromPoint. 

Reply Children
No Data