Bound Commands Don't Work in FooterButtons

Ribbon for WPF Forum

Posted 11 years ago by Andy Ver Murlen
Version: 4.5.0486
Platform: .NET 3.5
Environment: Windows Vista (32-bit)
Avatar
As the title says, I have ICommand objects exposed via the view model that my windows is bound to.

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>            
Simply moving the button to the FooterButtons collection breaks the bound 'ExitApplication' command...

<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>            

Comments (2)

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Andy,

Can you email over a simple sample project that shows this happening so we can debug it? We have an idea of something it could be, but would need to try it with the repro project. Thanks!


Actipro Software Support

Posted 11 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Thanks for the sample, it's fixed for the next maintenance release.


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.