There seems to be a problem with the PopupButton. I've got some buttons on the menu that are sometimes disabled (when there is no drawing loaded). The buttons get enabled correctly, but the PopupButton does not, so you can't get to the buttons. When the user switches away to another tab and then back again, the PopupButton is correctly enabled.
You can see this at the latest build at http://vectorstudio.com/Run The Orientation PopupButton is disabled by default, when the buttons it contains are enabled.
Here is the xaml for the button. You can see that the Portrait button is enabled as I've copied it out of the PopupButton.
You can see this at the latest build at http://vectorstudio.com/Run The Orientation PopupButton is disabled by default, when the buttons it contains are enabled.
Here is the xaml for the button. You can see that the Portrait button is enabled as I've copied it out of the PopupButton.
<ribbon:Group Label="Page Setup" Command="{x:Static v:ShowPagePropertiesCommand.Command}" >
<ribbon:Button Label="Portrait" Command="{x:Static v:SetPageOrientationCommand.Command}" />
<ribbon:PopupButton Label="Orientation">
<ribbon:Menu ItemVariantSize="Large" >
<ribbon:Button Label="Portrait" Command="{x:Static v:SetPageOrientationCommand.Command}" />
<ribbon:Button Label="Landscape" Command="{x:Static v:SetPageOrientationCommand.Command}" CommandParameter="{x:Static v:PageOrientation.Landscape}" />
</ribbon:Menu>
</ribbon:PopupButton>
...