BringToFrontBeh avior
Average Rating:
(6)
(6)
Description
Discussions
(2)
|
|
-
-
Written March 29, 2010Hi Jocelyn, Your Behavior is excellent and just what I've been looking for thanks. Can it be easily adapted to make it react to onmouseenter? I have expanding charts in a dashboard that I need to set the Zindex on when I hover over the chart. Thanks Rob
-
Written March 30, 2010Hi Rob, it should work if you download the behavior code and just edit the child.AddHandle
r... line and and replace it with the MouseEnter event (i believe it is called :)) Glad it could help! let me know if it works out for you. -

-
Written March 29, 2012Hello, I'm working in the WPF environment. Can this work there as opposed to Silverlight. Because I can't get it to load into my references.
-

-
-
-
Written November 05, 2009Hello, I tried to modify the code and bringing to front on left mouse down but nothing happens. Am I wrong? Thank you!
-
Written November 08, 2009Hi AndreaPi, You should be able to do so by modifying the code below in BringToFrontBeh
avior.cs void AssociatedObjec t_Loaded(object sender, RoutedEventArgs e) { foreach (var child in AssociatedObjec t.Children) { child.MouseLeft ButtonDown = new MouseButtonEven tHandler(child_ MouseLeftButton Up); } } You'll notice that i hooked the handler to each child's MouseLeftButton Down instead up.
-




