How to bind an icon to outlookbaritem as region

2 posts, 0 answers
  1. bydt
    bydt avatar
    7 posts
    Member since:
    May 2010

    Posted 02 Jun 2010 Link to this post

    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"  />     

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

      public partial class ModuleANavigationView : UserControl 
            private const string TITLE = "SomeTitle"
            public ModuleANavigationView (ModuleANavigationViewModel viewModel) 
                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?
  2. Kiril Stanoev
    Kiril Stanoev avatar
    1512 posts

    Posted 07 Jun 2010 Link to this post

    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.
Back to Top