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="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
    3  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    4  xmlns:TNC="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
    5 > 
    6  
    7   <Grid x:Name="LayoutRoot" Background="White">  
    8  
    9     <TNC:RadToolBarTray> 
    10  
    11       <TNC:RadToolBar> 
    12           
    13         <TNC:RadSeparator> 
    14     </TNC:RadSeparator> 
    15                   
    16       </TNC:RadToolBar>       
    17  
    18     </TNC:RadToolBarTray> 
    19  
    20   </Grid> 
    21  
    22 </UserControl> 
    23   

    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
    Admin
    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,
    Ivan
    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.
  3. DevCraft banner
Back to Top