Hello,
I have a problem when using diagram in ribbonview,
I want to set the 'New','Open','Save' button of the firstlook demo to the RadRibbonBackstage, the code is:
<telerik:RadRibbonView.ApplicationButtonContent>
<TextBlock Text="Begin" Margin="10 2" />
</telerik:RadRibbonView.ApplicationButtonContent>
<telerik:RadRibbonView.Backstage>
<telerik:RadRibbonBackstage>
<telerik:RadRibbonBackstageItem Header="New" IsSelectable="False" Icon="pack://application:,,,/FOSS.Common;component/Images/new32.png" Command="telerik:DiagramCommands.Clear"
CommandTarget="{Binding ElementName=diagram}"/>
<telerik:RadRibbonBackstageItem Header="Open" IsSelectable="False" Icon="pack://application:,,,/FOSS.Common;component/Images/open32.png" Command="telerik:DiagramCommands.Open"
CommandTarget="{Binding ElementName=root}"/>
<telerik:RadRibbonBackstageItem Header="Save" IsSelectable="False" Icon="pack://application:,,,/FOSS.Common;component/Images/save32.png" Command="telerik:DiagramCommands.Save"
CommandTarget="{Binding ElementName=root}" />
</telerik:RadRibbonBackstage>
</telerik:RadRibbonView.Backstage>
There are two problem:
1.the open and save command did not work.
2.when the window loaded,if I click the "Begin" button, the RadRibbonBackstageItems is not enabled,but when I click the digram,and click the "Begin" button, the RadRibbonBackstageItems is enabled.
what should I do?