Posted 16 years ago
by Andy Ver Murlen
Version: 4.5.0486
Platform: .NET 3.5
Environment: Windows Vista (32-bit)

As the title says, I have ICommand objects exposed via the view model that my windows is bound to.
this works fine...Simply moving the button to the FooterButtons collection breaks the bound 'ExitApplication' command...
this works fine...
<ribbon:Ribbon.ApplicationMenu>
<ribbon:ApplicationMenu>
<ribbon:Button
Label="Exit"
ImageSourceLarge="{StaticResource Image_Exit}"
Command="{Binding ExitApplication}"
SnapsToDevicePixels="True"
/>
</ribbon:ApplicationMenu>
</ribbon:Ribbon.ApplicationMenu>
<ribbon:Ribbon.ApplicationMenu>
<ribbon:ApplicationMenu>
<ribbon:ApplicationMenu.FooterButtons>
<ribbon:Button
Label="Exit"
ImageSourceLarge="{StaticResource Image_Exit}"
Command="{Binding ExitApplication}"
SnapsToDevicePixels="True"
/>
</ribbon:ApplicationMenu.FooterButtons>
</ribbon:ApplicationMenu>
</ribbon:Ribbon.ApplicationMenu>