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
615
Set Image for OutlookBarGroup in code behind
posted

Hi All,

Normally we can set icon for outlookbargroup in xaml like this:

<ig:OutlookBarGroup.LargeIconTemplate>

         <DataTemplate>

            <Image Source="....." />

         </DataTemplate>

      </ig:OutlookBarGroup.LargeIconTemplate>

But for my application for some reasons I can't set image at design time, at runtime the code behind will create and add outlookbargroup. At that time I'd to set image for outlookbargroup also. Can we do at runtime in code like that?
Thanks
Han