RadPanelBarItem disabled apperarance

2 posts, 0 answers
  1. Jason Moore
    Jason Moore avatar
    22 posts
    Member since:
    Jun 2012

    Posted 02 Dec 2014 Link to this post

    I have the following XAML 
                      IsEnabled="{Binding IsEnabled}">

    where IsEnabled is a property on the View Model.

    As can be seen from the attached image there is a slight darker grey coloured box that fills the items when IsEnabled= false
    I just want the text to change when items are disabled with no extra change in background fill colour.

    Can I be shown(perhaps sample control template) as to how to do this
  2. Pavel R. Pavlov
    Pavel R. Pavlov avatar
    1251 posts

    Posted 04 Dec 2014 Link to this post

    Hi Jason,

    As far as I understand you need to customize one of the states of the RadPanelBarItem. This can be done in fairly easy way by following the steps described in this article. You should open the Telerik.Windows.Controls.Navigation.xaml dictionary and you should be looking for the style with x:Key attribute set to "RadPanelbarItemBaseStyle". Furthermore you should customize its Template or its ChildItemsTemplate depending on your needs.

    I hope this information will get you started.

    Pavel R. Pavlov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top