could not move the Toolbars in the Toolbartray ?

3 posts, 0 answers
  1. Thomas
    Thomas  avatar
    18 posts
    Member since:
    Jun 2012

    Posted 17 Jul 2013 Link to this post

    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. Thomas
    Thomas  avatar
    18 posts
    Member since:
    Jun 2012

    Posted 17 Jul 2013 Link to this post

    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>
  3. UI for WPF is Visual Studio 2017 Ready
  4. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 22 Jul 2013 Link to this post

    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 >>
Back to Top