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
849
How to change the column header appearance in the ColumnChooser?
posted

Hi,

 I have been starting to use the ColumnChooser functionnality recently and it works very fine! But i'm having an issue with a specific aspect of the appearance customisation. I wish to display the appearance of the column differently from the column header of my UltraGrid.

 I have used this code:

Private Sub UltraGrid1_BeforeColumnChooserDisplayed(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.BeforeColumnChooserDisplayedEventArgs) Handles UltraGrid1.BeforeColumnChooserDisplayed

e.Dialog.ColumnChooserControl.DisplayLayout.Override.HeaderAppearance.BackColor = Color.Red

e.Dialog.ColumnChooserControl.DisplayLayout.Override.HeaderAppearance.FontData.SizeInPoints = 12

End Sub

But this does not affect in any way my column chooser! Can someone help?

 FYI, I am using Infragistics 2007.3 and .Net 2.0.

 Thanks for your help,

 

Damien