I have a panel with a set of buttons, it responds as expected to the up and down keys but I also want it to respond to Page Up and Page Down keys as well.
<Panel Navigation="ContainAll">
<Layout>
<FlowLayout Orientation="Vertical" ItemAlignment="Near"/>
</Layout>
<Children>
<me:buttonImage Command="[CmdPlayAll]" Name="cmdPlay" />
<me:buttonImage Command="[CmdAddToQueue]" Name="cmdQueue" />
<me:buttonImage Command="[CmdShuffle]" Name="cmdShuffle" />
<me:buttonImage Command="[CmdResume]" Name="cmdResume"/>
<me:buttonImage Command="[CmdPause]" Name="cmdPause" />
<me:buttonImage Command="[CmdClose]" Name="cmdClose" />
</Children>
</Panel>
I've tried a shortcut handler for the keys and then this:
<Changed Source="[CmdPgUp.Invoked]">
<Actions>
<Invoke Target="[cmdPlay.NavigateInto]"/>
</Actions>
</Changed>
but nothing happens. NavigateIntoIndex, Home, Scroll all fail to compile as it's not a valid for a Panel. Am I missing a command or method that would allow me to do this.