Cannot serialize/deserialize ApplicationMenu items on the QAT

Ribbon for WPF Forum

Posted 10 years ago by Ilian Pinzon
Version: 13.2.0592
Platform: .NET 4.5
Environment: Windows 7 (32-bit)
Avatar

Hi,

I have an application that serializes the QAT during shutdown and tries to deserialize it during startup. But it does not seem to work for ApplicationMenu items where the items are built using the ItemsSource property.

<ribbon:Ribbon x:Name="ribbon" DockPanel.Dock="Top">
  <ribbon:Ribbon.ApplicationMenu>
    <ribbon:ApplicationMenu ItemsSource="{Binding Buttons, ElementName=window}">
      <ribbon:ApplicationMenu.Resources>
        <DataTemplate DataType="{x:Type sys:String}">
          <ribbon:Button ImageSourceSmall="Resources\x.png" Label="{Binding}" />
        </DataTemplate>
      </ribbon:ApplicationMenu.Resources>
    </ribbon:ApplicationMenu>
  </ribbon:Ribbon.ApplicationMenu>
</ribbon:Ribbon>

Even if I pin multiple ApplicationMenu items to the QAT, all I get is an empy RibbonControlPathList from the return value of Ribbon.SerializeQuickAccessToolBarItems().

I can send a sample application if you need it.

 

Regards,

Ilian Pinzon

Comments (1)

Posted 10 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Ilian,

Yes please email a new simple sample project that shows the problem to our support address and reference this thread.  Be sure to rename the .zip file extension so it doesn't get spam blocked.  Thanks!


Actipro Software Support

The latest build of this product (v24.1.1) 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.