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