OutlookBarItemMinimizedTemplate content binded to OutlookBarItem icon

2 posts, 0 answers
  1. Juzailie
    Juzailie avatar
    20 posts
    Member since:
    Apr 2013

    Posted 02 Jul 2014 Link to this post

    hi there,
    Just need some ideas with this OutlookBar control is there any option or technique to bind the OutlookBarItemMinimized template contains Image control where I want the source of it bind to the OutlookBarItem Icon is this possible?
  2. Milena
    Milena avatar
    226 posts

    Posted 03 Jul 2014 Link to this post

    Hello Juzailie,

    The RadOutlookBarItems expose the Icon and SmallIcon properties - when the RadOutlookBarItem is in normal state and in the minimized area respectively. So, you can bind the SmallIcon property to the property of your business model: 
    <Style TargetType="telerik:RadOutlookBarItem">
            <Setter Property="Icon" Value="{Binding IconSource}" />
            <Setter Property="SmallIcon" Value="{Binding IconSource}" />

    You can see a sample implementation of this approach in our GitHub repository or in our SDK browser and give it a try. 

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top