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
275
Setting header checkbox value through code
posted

Hi!

I've got an UltraWinGrid with one column that has a checkbox in its header by setting ugrid.Header.CheckBoxVisiblity = UltraWinGrid.HeaderCheckBoxVisibility.Always

How do I set the value of the checkbox through code?  In other words, what's the object of the header checkbox so I can set its value property?

TIA,
Dave

 

Parents
  • 469350
    Offline posted

    Hi Dave,

    The HeaderCheckBox can't be a property, because it needs the context of both the column and the rows collection you are working with. So you have to use methods, instead.

    There are methods on the column for Get/SetHeaderCheckState.

Reply Children