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
1770
event fired when header of splitpane clicked
posted

Hello. I have a xamdockmanager with several SplitPanes and one ContentPane per SplitPane. I need to fire an event when a user clicks on the header of the ContentPane. This is how I'm assuming you would do this:

<igWPF:XamDockManager LayoutMode="FillContainer" Background="LightBlue" >

<igWPF:XamDockManager.Panes>

<igWPF:SplitPane Name="HendaySplitPane">

<i:Interaction.Triggers>
<i:EventTrigger EventName="MouseEnter" >
<mvvmlight:EventToCommand Command="{Binding OnHendayPaneFocusCommand}" PassEventArgsToCommand="True" />
</i:EventTrigger>
</i:Interaction.Triggers>

content pane stuff

</igWPF:ContentPane>
</igWPF:SplitPane>

</igWPF:XamDockManager.Panes>
</igWPF:XamDockManager>

For EventName I've tried GotFocus, MouseLeftButtonUp along with several others but the event never fires. How can I set this up? Also ideally I would like to put Interaction.Triggers at the xamdockmanager level and have it pass the name of the content pane that got the focus. Thanks

Parents Reply Children
No Data