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

Toolbar Items On Right

3 Answers 87 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Scott
Top achievements
Rank 1
Scott asked on 26 Aug 2011, 05:33 PM
I'm looking to have all my toolbar buttons on the right side of the toolbar.  I've searched the forum for how to accomplish this, but all I can find are posts from 2009 stating to use two toolbars side by side.  Each of those posts say that this feature is coming soon.

Am I able to now position my buttons on the right side of my toolbar without needing two toolbars?  If so, how?

Thanks,

-Scott

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 31 Aug 2011, 02:30 PM
Hi Scott,

 This is logged preciously as a feature request in our PITS system. You can vote for it here. Unfortunately, we cannot provide you an estimated time when this will be implemented in the RadToolBar.

All the best,
Petar Mladenov
the Telerik team

Thank you for being the most amazing .NET community! Your unfailing support is what helps us charge forward! We'd appreciate your vote for Telerik in this year's DevProConnections Awards. We are competing in mind-blowing 20 categories and every vote counts! VOTE for Telerik NOW >>

0
Marcelo
Top achievements
Rank 1
answered on 09 Sep 2011, 03:09 PM
There is a workAround...
Try this:

    <Grid x:Name="LayoutRoot" Background="White" Height="30" SizeChanged="LayoutRoot_SizeChanged" >
        <telerik:RadToolBar HorizontalAlignment="Stretch" OverflowButtonVisibility="Collapsed">
        <Grid x:Name="teste">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="270"/>
                    <ColumnDefinition Width="130"/>
                    <ColumnDefinition Width="*"/>
                    <ColumnDefinition Width="100"/>
                    <ColumnDefinition Width="80"/>
                    <ColumnDefinition Width="41"/>
                </Grid.ColumnDefinitions>
             [........]
            </Grid>
    </telerik:RadToolBar>
</Grid>

and

private void LayoutRoot_SizeChanged(object sender, SizeChangedEventArgs e)
{
      teste.Width = e.NewSize.Width - 30;
}
0
Trude
Top achievements
Rank 2
answered on 07 Oct 2011, 08:22 AM
No need for code-behind (just style/adjust the controls with margins to suit your needs):
<Grid>
    <telerik:RadToolBar></telerik:RadToolBar>
    <StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
        <Button/>
        <Button/>
        <Button/>
    </StackPanel>
</Grid
Tags
ToolBar
Asked by
Scott
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Marcelo
Top achievements
Rank 1
Trude
Top achievements
Rank 2
Share this question
or