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
945
Group headers appearence
posted

 Hi:

    I am trying to set the group headers border color:

            Grid.DisplayLayout.Bands[0].Columns[1].Group.Header.Appearance.BackColor = Color.Red;
            Grid.DisplayLayout.Bands[0].Columns[1].Group.Header.Appearance.BorderColor = Color.DodgerBlue;

BackColor gets set, BorderColor3DBase gets set,  borders color doesn't. I tried ResolveAppearence, same result. Can you set the border colors for a group header? I just want the border colors, BackColor is here as an example only.My intention is to mimic hovering the mouse over the group headers. I also tried:

View.SmartGridExcel.DisplayLayout.Bands[0].Columns[1].Group.Header.Selected = true;

hoping to get the header selected but I am getting the whole column selected instead. 

Any ideas on how to achieve this (showing a group header as been selected/hovering over programmatically)? 

Thanks, 

Mihail