Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Menu > Styling the menu with rounded corners?

Not answered Styling the menu with rounded corners?

Feed from this thread
  • Paul avatar

    Posted on Apr 14, 2011 (permalink)

    Is there a way to round off the corners of the radmenu. I edited the template in expression blend and changed the corner radius however the border around the menu has not changed?

    Thanks
    Paul

    Reply

  • Dani Dani admin's avatar

    Posted on Apr 15, 2011 (permalink)

    Hello Paul,

    If you modify the Border around the ItemsPresenter of RadMenu and add a CornerRadius, you can get the effect similar to the attached screenshot. To round off the corners, generate the RadMenu template in Blend and try using this sample:

    <Setter Property="Template">
                    <Setter.Value>
                        <ControlTemplate TargetType="{x:Type telerik:RadMenu}">
                            <Border BorderBrush="{TemplateBinding BorderBrush}" 
                            BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}" 
                            Padding="{TemplateBinding Padding}" CornerRadius="3">
                                <ItemsPresenter/>
                            </Border>
                        </ControlTemplate>
                    </Setter.Value>
                </Setter>

    I hope this helps.

    Greetings,
    Dani
    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

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WPF > Menu > Styling the menu with rounded corners?