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
110
HotTrackSelected
posted

Hi,

in the appstylist I found the "HotTrackSelected" state that changed my forcolor to the one that I wanted.

To overwrite the forecolor for each tab page I changed the resulutionOrder to: ControlThenApplication


How can I programatically found that "HotTrackSelected" ?

I see and can change all other states for example:

ultraTabControl1.ActiveTab.ActiveAppearance.ForeColor = Color.FromArgb(0,146,208);

That Change only the forcolor, if I move the mouse away from the selected tab.

I try things like that:

ultraTabControl1.HotTrackedTab.Appearance.ForeColor = Color.FromArgb(0, 146, 208);

ultraTabControl1.Tabs[0].HotTrackAppearance.ForeColor = Color.FromArgb(0, 146, 208)

but I need something that not exists:

ultraTabControl1.HotTrackedSelectedTab.Appearance.ForeColor = Color.FromArgb(0, 146, 208);

ultraTabControl1.Tabs[0].HotTrackSelectedAppearance.ForeColor = Color.FromArgb(0, 146, 208)


Any ideas?


Cheers

Ralf

Parents
No Data
Reply
  • 34810
    Offline posted

    Hello Ralf,

    I am unsure of exactly why you are unable to find the HotTrackSelectedAppearance property of the UltraTab instances that exist in your UltraTabControl. This property does exist in the latest version of Infragistics for Windows Forms 2017.2, and as it sounds like you are looking to apply different hover-colors to the UltraTab elements depending on whether or not they are selected, this should achieve the functionality you are looking to achieve.

    It is also possible that you are using a different version than the latest version of Infragistics for Windows Forms. If so, it may be helpful if you can list the version number of the controls that you are using. I am attaching a sample project that demonstrates usage of this property. This sample project was built against version 17.2.20172.2006 of Infragistics for Windows Forms 2017.2.

    Please let me know if you have any other questions or concerns on this matter.

    UltraTabControlSelectedHotTrack.zip

    Sincerely,
    Andrew
    Software Developer

Children