We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

SfTabControl MouseOver Background and Foreground

I am trying to set the appropriate colors to use for the background and foreground when the mouse is over the tab header, any help is appreciated.

1 Reply

VJ Victory Jessie Selvam D Syncfusion Team February 3, 2016 12:25 PM UTC

Hi Ryan,

Thank you for using Syncfusion products.

The mouse over Foreground and Background of SfTabItem header can be changed using "PointerOver", "SelectedPointerOver" and "NormalPointerOver" visual states. We have prepared a table and sample to demonstrate these visual state behavior and you can download it from the following link:

S.No

Visual State

Description

1

PointerOver

Applied on hovering an unselected tab item

2

SelectedPointerOver

Applied on hovering the selected tab item if SfTabControl.SelectionStyle is CompleteHeader

3

NormalPointerOver

Applied on hovering the selected tab item if SfTabControl.SelectionStyle is HeaderText


Sample: TabControl_Hover_Brush

Regards,
Jessie

Loader.
Up arrow icon