RecentDocuments ReadOnly

Ribbon for WPF Forum

Posted 13 years ago by Jürgen Hölker - dSPACE GbmH
Hi, i have a Ribbon with BackstageTab and a Recent-Menu like the following:

<ribbon:BackstageTab Name="RecentTab" Header="Recent">
     <StackPanel Orientation="Horizontal">
         <Border Style="{StaticResource ContentBoxBorderStyle}">
             <DockPanel Margin="19,9">
                 <ribbon:Separator DockPanel.Dock="Top" Label="Recent Documents" Context="BackstageItem" />
                 <ScrollViewer VerticalScrollBarVisibility="Auto">
                     <ribbon:RecentDocumentMenu VariantSize="Large" Manager="{Binding RecentDocuments}" />
The RecentDocumentManager-Binding is a RecentDocumentManager in code. I get all RecentDocuments, but they are ReadOnly.
What do i need to do here??



[Modified at 07/13/2011 12:53 AM]

Comments (1)

Posted 13 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Jürgen,

If look at the documentation topic on RecentDocumentMenu, the last section talks about how the buttons it makes use ApplicationCommands.Open. You need to handle that command in your code and if no handler is found, the button will be disabled.

Actipro Software Support

The latest build of this product (v24.1.2) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.