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

How to customize the appearance of RadSeparator inside RadToolBar?

1 Answer 89 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Rob
Top achievements
Rank 1
Rob asked on 18 Jun 2009, 03:07 PM
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.

<UserControl x:Class="SilverlightApplication18.MainControl" 
 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
 xmlns:TNC="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation" 
> 
 
  <Grid x:Name="LayoutRoot" Background="White">  
 
    <TNC:RadToolBarTray> 
 
      <TNC:RadToolBar> 
          
        <TNC:RadSeparator> 
    </TNC:RadSeparator> 
                  
      </TNC:RadToolBar>       
 
    </TNC:RadToolBarTray> 
 
  </Grid> 
 
</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...

1 Answer, 1 is accepted

Sort by
0
Ivan
Telerik team
answered on 18 Jun 2009, 04:23 PM
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.
Tags
ToolBar
Asked by
Rob
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or