Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ToolBar > Position controls in toolbar

Not answered Position controls in toolbar

Feed from this thread
  • Richard Harrigan Intermediate avatar

    Posted on Nov 18, 2011 (permalink)

    Hi

    I have added a RadMenu to the toolbar which works well functionally.  However, I would like the menu to be aligned on the right side of the toolbar and would like to put other controls (Buttons) on the left side.  How can I do this?

    Also, there is a icon on the left side of the toolbar  (a vertical list of periods).  How may I hide that icon?

    Thanks
    RIch

    Reply

  • Stefan Stefan admin's avatar

    Posted on Nov 23, 2011 (permalink)

    Hello Richard Harrigan,

    RadToolBar uses StackPanel in its default ControlTemplate and that is why it is not possible to align the RadMenu on the right side of the RadToolBar using HorizontalAlignment or HorizontalContentAlingment. The default RadToolBar's orientation is horizontal and a horizontal orientated StackPanel Width is measured based on the width of its children.

    I have attached a sample project where you can see a possible approach for working around the problem with the RadMenu's alignment.

    About the element with the vertical list of periods - the RadToolBar has a GripVisibility property that controls the visibility of the grip element and can be set it to "Collapsed" if you want to hide it.

    Kind regards,
    Stefan
    the Telerik team
    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>
    Attached files

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Silverlight > ToolBar > Position controls in toolbar
Related resources for "Position controls in toolbar"

Silverlight ToolBar Features  |  Documentation  |  Demos  |  Telerik TV  |  Self-Paced Trainer  ]