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

How to bind an icon to outlookbaritem as region

1 Answer 33 Views
OutlookBar
This is a migrated thread and some comments may be shown as answers.
bydt
Top achievements
Rank 1
bydt asked on 02 Jun 2010, 07:31 AM
I am implementing outlook bar with PRISM 2, i want to bind an icon into my outlookbaritem, for the details please see code below :

<Grid x:Name="LayoutRoot" Background="White"
        <telerik:RadOutlookBar x:Name="outlookBar" Height="350" cal:RegionManager.RegionName="OutlookBarRegion" DisplayMemberPath="ItemHeader"  />     
    </Grid> 

and for the code behind let me say "module A" :

  public partial class ModuleANavigationView : UserControl 
    { 
        private const string TITLE = "SomeTitle"
        public ModuleANavigationView (ModuleANavigationViewModel viewModel) 
        { 
            InitializeComponent(); 
            this.DataContext = viewModel
            this.ItemHeader = TITLE
            Telerik.Windows.Controls.TextSearch.SetText(this, TITLE); 
        } 
        public string ItemHeader { get; set; }    
    } 

how to bind the icon for this case?
thanks..

1 Answer, 1 is accepted

Sort by
0
Kiril Stanoev
Telerik team
answered on 07 Jun 2010, 08:55 AM
Hello Bayudita,

I've attached a sample project that demonstrates the usage of RadOutlookBar and Prism. Please have a look at it and let me know if it helps. If you have any further questions, do not hesitate to contact us.

All the best,
Kiril Stanoev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
OutlookBar
Asked by
bydt
Top achievements
Rank 1
Answers by
Kiril Stanoev
Telerik team
Share this question
or