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

could not move the Toolbars in the Toolbartray ?

2 Answers 226 Views
ToolBar
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 17 Jul 2013, 12:16 PM
hi,

i try to setup the cotrols that moving the of the toolbars within the toolbartray is possible (drag & drop ) but nothing work´s.
so how could i setup the control correctly that my users are able to configure there layout as they like ?

thanks regards


my xaml.

----------------------
<UserControl x:Class="xxxx.yyyy.Views.ContextTool"
			 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
			 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
			 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
			 xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
			 xmlns:regions="clr-namespace:Microsoft.Practices.Prism.Regions;assembly=Microsoft.Practices.Prism"
			 xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
			 xmlns:vm="clr-namespace:xxxx.yyyy.ViewModels"
			 mc:Ignorable="d" 
			 d:DesignHeight="100" d:DesignWidth="1280">
	<Grid x:Name="ContextToolRoot" HorizontalAlignment="Stretch">
		<telerik:RadToolBarTray IsManipulationEnabled="True">
			<telerik:RadToolBar Band="0" BandIndex="0" IsOverflowOpen="True" IsManipulationEnabled="True">
				<TextBlock Margin="0,0,9,0" Text="Open:" />
				<Button>
					<Image Source="Images/16/open.png" />
				</Button>
				<telerik:RadMenuItem Header="Item 1" Icon="Images/16/close.png" IsChecked="True"></telerik:RadMenuItem>
			</telerik:RadToolBar>
			<telerik:RadToolBar Band="0" BandIndex="1">
				<telerik:RadMenuItem Header="Item 1" Icon="Images/16/close.png" IsChecked="True"></telerik:RadMenuItem>
				<telerik:RadMenuItem Header="Item 2"></telerik:RadMenuItem>
				<telerik:RadMenuItem Header="Item 3"></telerik:RadMenuItem>
			</telerik:RadToolBar>
			<telerik:RadToolBar Band="1" BandIndex="0">
				<telerik:RadMenuItem Header="Item 1" Icon="Images/16/close.png" IsChecked="True"></telerik:RadMenuItem>
				<telerik:RadMenuItem Header="Item 2"></telerik:RadMenuItem>
				<telerik:RadMenuItem Header="Item 3"></telerik:RadMenuItem>
			</telerik:RadToolBar>
		</telerik:RadToolBarTray>
	</Grid>
</UserControl>

2 Answers, 1 is accepted

Sort by
0
Thomas
Top achievements
Rank 1
answered on 17 Jul 2013, 02:38 PM
well give me a own answer ;) , using .net standard control is easy.

		<ToolBarTray Background="yellow">
			<ToolBar Band="0" BandIndex="0">
				<Button Content="cut">
				</Button>
				<Button Content="copy">
				</Button>
			</ToolBar>
			<ToolBar Band="0" BandIndex="1">
				<Button Content="undo">
				</Button>
				<Button Content="redo">
				</Button>
			</ToolBar>
			<ToolBar Band="0" BandIndex="2">
				<Button Content="paint">
				</Button>
				<Button Content="spell">
				</Button>
			</ToolBar>
		</ToolBarTray>
0
Petar Mladenov
Telerik team
answered on 22 Jul 2013, 07:12 AM
Hi Thomas,

 We understand your requirement. We have previously logged a related feature request for this in PITS where you can vote for it and track its status. We will consider adding this feature in some of our next releases.

Regards,
Petar Mladenov
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
ToolBar
Asked by
Thomas
Top achievements
Rank 1
Answers by
Thomas
Top achievements
Rank 1
Petar Mladenov
Telerik team
Share this question
or