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

RadDiagramToolbox resize Width problem

1 Answer 76 Views
Diagram
This is a migrated thread and some comments may be shown as answers.
A
Top achievements
Rank 1
A asked on 18 Sep 2013, 06:26 AM
<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

1 Answer, 1 is accepted

Sort by
0
Pavel R. Pavlov
Telerik team
answered on 20 Sep 2013, 03:51 PM
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 >>
Tags
Diagram
Asked by
A
Top achievements
Rank 1
Answers by
Pavel R. Pavlov
Telerik team
Share this question
or