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
395
How can I access win grid header?
posted

Hello,

 I added checkbox in the first column header of my grid by implement CreationFilter.

What I wanna do is accessing the checkbox in the header and change its checkState by code.

The problem is I don't know how to access that checkbox.

 Any idea?

Cheers,

Elton

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Elton,

    If you are using the sample code, then I beleive the checkbox value is stored in the Tag property of the column header. So you would have to do something like column.Header.Tag = true.

    Then you have to call grid.DisplayLayout.UIElement.DirtyChildElements to force the CreationFilter to update the grid's display. 

Children