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
180
Background for HotTrack and PressedAppearance for ControlContainerTool in the QAT
posted

Hi Infragistics,

 

I have created a UserControl for use in the QAT. I have no problem setting the Background for Appearance, but nothing happens when I set Background (or other Properties) for HotTrackAppearance and for PressedAppearance. Please let me know how I can change the presentation of my control, when I hoover over it, and when I click it.

 

Br

Thomas

Parents
No Data
Reply
  • 44743
    posted

    The ControlContainerTool's HotTrackAppearance will not be seen if the Control it displays completely covers it, because the control displays its own appearance and has no notion of the HotTrackAppearance. As far as the PressedAppearance goes, the ControlContainerTool cannot be pressed, so that appearance will never be used. You should probably have custom drawing logic so your user control changes appearance when it is hot tracked or pressed.

Children
No Data