I’m trying to handle mouse over event in order not to open LayoutAutoHideWindowControl automatically. This happen when I put mouse cursor over “Connection Manager” label (please refer to attached picture). My goal should be opening LayoutAutoHideWindowControl only by clicking on “Connection Manager” label.
Could you provide a snippet of code in which you show how to handle this scenario?
Any moderators could confirm if the following change (the lines commented out) has no side effects on other controls? It seems to me to get the expected behavior.
protected override void OnMouseEnter(System.Windows.Input.MouseEventArgs e)
// Force opening window by clicking
LayoutAnchorControl currentLayoutAnchorControl = e.Source as LayoutAnchorControl;
var model = currentLayoutAnchorControl.Model as LayoutAnchorable;
e.Handled = true;
_openUpTimer = new DispatcherTimer(DispatcherPriority.ApplicationIdle);
_openUpTimer.Interval = TimeSpan.FromMilliseconds(400);
_openUpTimer.Tick += new EventHandler(_openUpTimer_Tick);