I want to build a RibbonApplicationMenu
. Within it shall be a nested RibbonApplicationMenuItem
or RibbonApplicationSplitMenuItem
, e.g. likes this:
<ribbon:RibbonApplicationSplitMenuItem x:Name="item1" Header="open project" ImageSource="../img/img1.png">
<ribbon:RibbonApplicationMenuItem x:Name="item11" Header="sub1" ImageSource="../img/img2.png" />
<ribbon:RibbonApplicationMenuItem x:Name="item12" Header="sub2" ImageSource="../img/img3.png" />
<ribbon:RibbonApplicationMenuItem x:Name="item13" Header="sub3" ImageSource="../img/img3.png" />
</ribbon:RibbonApplicationSplitMenuItem>
At first there is no error shown and the program can be built successfully.
When I continue work the entire section is labeled and an error is given:
The index '0' is out of the valid range of the PathParameters-List with the length '0'
What is the reason for this error?