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
80
Databinding OutlookBar groups
posted

Hi,

we're evaluating Infragistics controls and one of the main decision points is the ability to databind in a MVVM pattern. I tried to find some examples in the demo center:

<igOB:OutlookBarGroup Header="{Binding Source={StaticResource OutlookBarStrings}, Path=LayoutAndBehavior_AddGroupsInXamOutlookBar_Group1_Header}"

The code above for instance binds the Header property of a group. However we want to bind the list of groups themselves and could not find any examples.

Ideally I would have a the following classes:

  • BarViewModel -> the view model for the whole Outlook bar containing an IEnumerable<BarGroupViewModel>
  • BarGroupViewModel -> the view model for a group, defining Header, Tooltip, SmallImage, LargeImage, and Content (the view for the content)

Would this be possible? If yes could you help us by providing an example?

Thanks!
Sam

Parents
  • 4475
    Verified Answer
    posted

    Hello,

     

    I have been looking into your question and did not quite get if you are trying to add some group objects directly to the OutlookBar control via binding. If this is the needed scenario, than you can check the following sample:

     

    Feature Browser -> xamOutlookBar -> Layout and Behavior -> Adding Groups with Data Binding.

     

    Please let me know if this is the needed functionality or I have misunderstood you at some point.

     

    Sincerely,

    Ekaterina

    Developer Support Engineer

    Infragistics, Inc.

    www.infragistics.com/support

     

Reply Children
No Data