/// <exclude/>
        protected override void OnMouseHover(EventArgs e)
        {
            base.OnMouseHover(e);

            DockContent content = GetHitTest();

            if (content != null && DockPanel.ActiveAutoHideContent != content)
            {
                DockPanel.ActiveAutoHideContent = content;
            }

            // requires further tracking of mouse hover behavior,
            // call TrackMouseEvent
            TRACKMOUSEEVENTS tme = new TRACKMOUSEEVENTS(Win32.TRACKMOUSEEVENTS.TME_HOVER, Handle, Win32.TRACKMOUSEEVENTS.HOVER_DEFAULT);

            User32.TrackMouseEvent(ref tme);
        }
Example #2
0
 public static extern bool TrackMouseEvent(ref TRACKMOUSEEVENTS tme);