I am looking for an Event handler for ContentPane getting opened when user Hovers the Mouse on the ContentPane tab. This is required to update the data in the content pane when its being opened.
Hello,
I am just checking the progress of this issue and was wondering if you managed to achieve your goal or if you need any further assistance on the matter.
Thank you for your post. I have been looking into it and I suggest you create a Style for the PaneTabItem and add an EventSetter for the MouseEnter event and handled it in code behind. You can do something like this:
In XAML:
<Style TargetType="{x:Type igDock:PaneTabItem}"> <EventSetter Event="MouseEnter" Handler="MyMouseEnter"/> </Style>
In Code behind:
void MyMouseEnter(object sender, MouseEventArgs e) { ContentPane cp = (sender as PaneTabItem).Pane; }
This way you can have a reference to the ContentPane that is going to be shown. Please let me know if this helps you or you need further assistance on this matter.
Looking forward for your reply.