RadWrapPanel instead of RadUniformGrid in RadDiagramToolbox

2 posts, 0 answers
  1. donovan
    donovan avatar
    13 posts
    Member since:
    Oct 2011

    Posted 05 Jul 2014 Link to this post

    In the older version of the RadDiagramToolbox the RadWrapPanel was used and the items would wrap when the toolbox was resized. But now with the RadUniformGrid they are resized.  How can I switch the toolbox back to using the RadWrapPanel like before?

    Thanks
    Donovan
  2. donovan
    donovan avatar
    13 posts
    Member since:
    Oct 2011

    Posted 05 Jul 2014 Link to this post

    Never mind. I figured it out.

    <Style TargetType="extensions:RadDiagramToolboxGroup" BasedOn="{StaticResource RadDiagramToolboxGroupStyle}">
    <Setter Property="ItemsPanel">
    <Setter.Value>
    <ItemsPanelTemplate>
    <telerik:RadWrapPanel VerticalAlignment="Top" Orientation="Horizontal" />
    </ItemsPanelTemplate>
    </Setter.Value>
    </Setter>
    </Style>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top