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
245
RibbonTabItem ViewSortHint Prism
posted

Hi.

I am using the xamRibbon (11.2) with Prism and MEF. All is going great and have used a custom region adapter to obviously aid the tabitem view injection but I am having issues with the ViewSortHint attribute.

I am finding that the attribute is being ignored completely when using the AutoPopulateExportedViewsBehavior region behaviour (taken from the Stock RI sample application).

I have tried adding a manual sorting mechanism on the region SortComparison but again the tabs only appear in the order they were added.

I was wondering if you had any suggestions.

Kind regards

  • 5
    posted

    i'm also facing the same issue 

    when we add user controls to regions

    when the regions show the view they will not consider the  "ViewSortHint" Attribute at all

    they will be simply shown in the order views are added to the region !!

    making the ViewSort Hint attribute ineffective 

  • 14517
    Offline posted

    Hello,

    Please provide a sample illustrating your implementation so that I may be of further assistance.

    Sincerely,
    Valerie
    Developer Support Engineer
    Infragistics
    www.infragistics.com/support