How to customize the appearance of RadSeparator inside RadToolBar?

2 posts, 0 answers
  1. Rob
    Rob avatar
    238 posts
    Member since:
    Jan 2009

    Posted 18 Jun 2009 Link to this post

    I am having some problems customizing the appearance of a RadSeparator inside a RadToolBar.  I am just trying to get something working a simple project before I apply it to my actual work.

    1 <UserControl x:Class="SilverlightApplication18.MainControl" 
    2  xmlns="" 
    3  xmlns:x="" 
    4  xmlns:TNC="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
    5 > 
    7   <Grid x:Name="LayoutRoot" Background="White">  
    9     <TNC:RadToolBarTray> 
    11       <TNC:RadToolBar> 
    13         <TNC:RadSeparator> 
    14     </TNC:RadSeparator> 
    16       </TNC:RadToolBar>       
    18     </TNC:RadToolBarTray> 
    20   </Grid> 
    22 </UserControl> 

    If I open this in Blend, and attempt to edit a copy of the default style, it seems to give me the style for a RadMenu?  Is this something with SL3 possibly?  I assumed that the style for a RadSeparator would be pretty small like a couple of rectangles maybe?  Am I using these incorrectly?  I even tried to override the "Template" property of the RadSeparator itself but it didn't seem to work...
  2. Ivan
    Ivan avatar
    519 posts

    Posted 18 Jun 2009 Link to this post

    Hi Rob,

    Thank you for interest in the RadToolBar control.

    Indeed the RadSeparator is a RadMenuItem. Even more it is labeled as obsolete and you should avoid it. Instead you can use the RadToolBarSeparator which we introduced in our latest internal build.

    We hope this information helps you.

    Sincerely yours,
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top