Group Bar background color of navigation pane when it is collapse
Hi,
Attachment: CollapseGroupBar_e35d8765.zip
How can I change the hover color of the navigation pane of a group bar when it is collapsed? And also the color when it is clicked?
Thanks in advance.
Attachment: CollapseGroupBar_e35d8765.zip
SIGN IN To post a reply.
5 Replies
DV
Duraimurugan Vedagiri
Syncfusion Team
May 20, 2020 02:50 PM UTC
Hi Rajhi,
Thanks for using syncfusion products.
You can change hover color of the navigation pane in GroupBar.MouseEnter event handler with help of FloatHighlightButtonColor property. Please refer the below code snippet for your reference.
But, can’t changed the color when navigation pane is clicked.
Please let us know if you need any further assistance.
Regards,
Durai
Thanks for using syncfusion products.
You can change hover color of the navigation pane in GroupBar.MouseEnter event handler with help of FloatHighlightButtonColor property. Please refer the below code snippet for your reference.
|
groupBar.MouseEnter += groupBar_MouseEnter;
private void groupBar_MouseEnter(object sender, EventArgs e)
{
Office2007BlueColors.Default.FloatHighlightButtonColor = Color.Green;
} |
But, can’t changed the color when navigation pane is clicked.
Please let us know if you need any further assistance.
Regards,
Durai
RJ
Rajhi John Tabora
May 21, 2020 01:16 AM UTC
Hi Durai,
Thank you for your reply. Will try this on my window app. I hope there is also a way to change the color of the navigation pane when clicked on the next updates.
Thanks!
DV
Duraimurugan Vedagiri
Syncfusion Team
May 21, 2020 03:30 PM UTC
Hi Rajhi,
Thanks for your update.
You can change color of collapsed navigation pane when it clicked and selected, in the GroupBar mouse event handler with help of FloatHighlightButtonBorderColor and FloatPressCloseButtonColor property. Please refer the below code snippet for your reference.
Regards,
Durai
Thanks for your update.
You can change color of collapsed navigation pane when it clicked and selected, in the GroupBar mouse event handler with help of FloatHighlightButtonBorderColor and FloatPressCloseButtonColor property. Please refer the below code snippet for your reference.
|
this.groupBar.MouseDown += groupBar _MouseDown;
private void groupBar_MouseDown(object sender, MouseEventArgs e)
{
Office2007BlueColors.Default.FloatPressCloseButtonColor = Color.Pink;
}
//When collapsed navigation pane is selected this.groupBar.MouseClick += groupBar_MouseClick;
private void groupBar_MouseClick(object sender, MouseEventArgs e)
{
Office2007BlueColors.Default.FloatHighlightButtonBorderColor = Color.Blue;
} |
Regards,
Durai
RJ
Rajhi John Tabora
May 22, 2020 07:32 AM UTC
Its working! Thank you so much for this!
DV
Duraimurugan Vedagiri
Syncfusion Team
May 25, 2020 07:43 AM UTC
Hi Rajhi,
Thanks for your update.
we are very pleased to hear that the reported requirement is achieved at your end. Please let us know if you require any further assistance.
Regards,
Durai
Thanks for your update.
we are very pleased to hear that the reported requirement is achieved at your end. Please let us know if you require any further assistance.
Regards,
Durai
SIGN IN To post a reply.
- 5 Replies
- 2 Participants
-
RJ Rajhi John Tabora
- May 19, 2020 08:41 AM UTC
- May 25, 2020 07:43 AM UTC