RadDiagramToolbox resize Width problem

2 posts, 0 answers
  1. A
    A avatar
    1 posts
    Member since:
    Aug 2013

    Posted 18 Sep 2013 Link to this post

    <telerik:RadSplitContainer x:Name="Split" Width="300" >
    <telerik:RadPaneGroup DockPanel.Dock="Top" >
    <telerik:RadPane x:Name="radPane" Header="Elements" >
     <extensions:RadDiagramToolbox
      telerik:StyleManager.Theme="Windows8"
      Title="Gallery"
      DataContext="{StaticResource model}"
      ItemsSource="{Binding Galleries}"
      ItemTemplate="{StaticResource ToolboxGroupTemplate}"
      Width="{Binding Width, ElementName=radPane, Mode=TwoWay}"   />
     </telerik:RadPane>
    </telerik:RadPaneGroup>
    </telerik:RadSplitContainer>
    Hi,I am using RadDiagramToolbox in code above.

    So, the problem  occurs when I try to move splitter of SplitContainer.
    Width of RadPane and RadDiagramToolbox change normal, but Width of RadDiagramToolbox 
     content have no changes.

    Regads,
    Yuriy
  2. Pavel R. Pavlov
    Admin
    Pavel R. Pavlov avatar
    1182 posts

    Posted 20 Sep 2013 Link to this post

    Hello Yuriy,

    You are right about the behavior of the RadDiagramToolbox control. It can not reduce its width because its items are with fixed size in the default style.

    In your case you can try wrapping it in a ScrollViewer in order to allow the user to scroll.

    Regards,
    Pavel R. Pavlov
    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 >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top