Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
QAT persistence issues
posted

I am trying to persist QAT items. I've been running into two issues (so far):

1. When using the following markup:

                <r:XamRibbon.QuickAccessToolbar>
                    <r:QuickAccessToolbar>
                        <r:QuickAccessToolbar.ItemTemplate>
                            <DataTemplate>
                                <r:QatPlaceholderTool TargetId="{Binding}" />
                            </DataTemplate>
                        </r:QuickAccessToolbar.ItemTemplate>
                    </r:QuickAccessToolbar>
                </r:XamRibbon.QuickAccessToolbar>

and code:

            ribbon.QuickAccessToolbar.ItemsSource = settings.QuickAccessItems;

I'm getting UnsupportedOperationException with the message:

Item of type 'System.String' cannot be added directly to the QuickAccessToolbar. [...]

 

2. When attempting to restore a group, I'm getting UnsupportedOperationException with the message:

An item with the specified TargetId 'GroupId' being added to the QuickAccessToolbar is not registered with the associated XamRibbon.

Is it me or is it XamRibbon? Is QAT persistence a planned feature? If it is, when will it be available?

Parents Reply Children
No Data