This is a migrated thread and some comments may be shown as answers.

OutlookBarItemMinimizedTemplate content binded to OutlookBarItem icon

1 Answer 53 Views
OutlookBar
This is a migrated thread and some comments may be shown as answers.
Juzailie
Top achievements
Rank 2
Juzailie asked on 03 Jul 2014, 02:52 AM
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?

1 Answer, 1 is accepted

Sort by
0
Milena
Telerik team
answered on 03 Jul 2014, 01:27 PM
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}" />
</Style>

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

Regards,
Milena
Telerik
 
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.
 
Tags
OutlookBar
Asked by
Juzailie
Top achievements
Rank 2
Answers by
Milena
Telerik team
Share this question
or