Hi,
I am trying to build a control using the PopupButton and i want the PopupContent to be multilevel. Here is a sample code:
<controls:PopupButton Height="22" HorizontalAlignment="Left" Width="100" Margin="0,5,5,5" DisplayMode="Merged" IsRounded="False" StaysOpen="False">
<controls:PopupButton.PopupContent>
<ribbon:Menu>
<ribbon:Separator Label="Font Properties" />
<MenuItem Style="{StaticResource Test}" Header="Level 1">
<MenuItem Header="Level 2 (this is not showing)" />
</MenuItem>
</ribbon:Menu>
</controls:PopupButton.PopupContent>
</controls:PopupButton>
There are other requiremnts for this but i am stucked getting this part work.
Any suggestions? Thanks!