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
1935
UltraGrid Header HotTrack BOARDER color/disable cannot be set ?
posted

Hi,

I couldn't find how to disable UltraGrid Header HotTrack, so I tried masking the Header HotTrack  Boarder with the same color of the header background but I couldn't change it no matter what I did. its constantly gradiant blue with black . can you please help me disabling the Header HotTracking or understand how to change its color.

i tried the following :

 

ug.DisplayLayout.Bands[0].Override.HotTrackHeaderAppearance.BorderColor = anycolor

ug.DisplayLayout.Bands[0].Override.HotTrackHeaderAppearance.BorderColor2 = anycolor

ug.DisplayLayout.Bands[0].Override.HotTrackHeaderAppearance.BorderColor3DBase = anycolor

it did not change. The only thing I could do is make it transparent but it still has some visual impact of hotTracking. 

ug.DisplayLayout.Bands[0].Override.HotTrackHeaderAppearance.BorderAlpha = Infragistics.Win.Alpha.Transparent;

 

furthermore, i made the hotTrack Background to me the same as the none-hotTrack background to mask, as much as possible, any hotTrack activity on the headers. but i will not need this if i will find a way to disable the headers hottracking completely

 

            ug.DisplayLayout.Bands[0].Override.HotTrackHeaderAppearance.BackColorAlpha = Infragistics.Win.Alpha.UseAlphaLevel;

            ug.DisplayLayout.Bands[0].Override.HotTrackHeaderAppearance.BackColor = ug.DisplayLayout.Bands[0].Override.HeaderAppearance.BackColor;

            ug.DisplayLayout.Bands[0].Override.HotTrackHeaderAppearance.BackColor2 = ug.DisplayLayout.Bands[0].Override.HeaderAppearance.BackColor2;

            ug.DisplayLayout.Bands[0].Override.HotTrackHeaderAppearance.ForeColor = ug.DisplayLayout.Bands[0].Override.HeaderAppearance.ForeColor;