How can I enter a code for my ribbonsplitbutton's menu items? because the GUI of ribbonsplitbutton is not clickable so how can I enter a code for the menuitem inside it if it is not visible in the design time here is my xaml code
<Window x:Class="Window1"
xmlns:my="http://schemas.microsoft.com/winfx/2006/xaml/presentation/ribbon"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="300" Width="300" WindowState="Maximized" Name="Window1">
<Grid>
<my:Ribbon Name="Ribbon">
<my:RibbonTab Header="Account" KeyTip="A">
<my:RibbonGroup Name="GroupCurrent" Header="Current">
<my:RibbonSplitButton Name="SplitAcc" Label="Action" KeyTip="CA" LargeImageSource="/WpfApplicationRibbon;component/Images/user_male_white_blue_black.png">
<my:RibbonMenuItem Name="btnView" Header="View Account" KeyTip="VA" />
<my:RibbonMenuItem Name="btnLogout" Header="Log out" KeyTip="LO" />
</my:RibbonSplitButton>
<my:RibbonButton Name="btnSysLock" Label="System Lock" LargeImageSource="/WpfApplicationRibbon;component/Images/lockred.jpg" />
</my:RibbonGroup>
</my:RibbonTab>
</my:Ribbon>
</Grid>
</Window>
as you can see I have two RibbonMenuItem inside my RibbonsplitButton,, How can I Enter a code for those controls?