This question is locked. New answers and comments are not allowed.
Can the ItemsControl work inside of the DockPanel ? I'm trying to have the dice animimate a doc from the left side to the right when the "Saved" property changes.
<telerikPrimitives:RadDockPanel x:Name="radDockPanel" LastChildFill="True" Background="Red" IsAnimated="True" AnimationDuration="0:0:0.5"> <telerikPrimitives:RadDockPanel.AnimationEasing> <ElasticEase/> </telerikPrimitives:RadDockPanel.AnimationEasing> <ItemsControl ItemsSource="{Binding CurrentDice}" HorizontalAlignment="Left"> <ItemsControl.ItemTemplate> <DataTemplate> <Button Width="100" Height="100" BorderThickness="0" Background="{StaticResource diceBrush}" Tag="{Binding Index}" Content="{Binding FaceValue, Converter={StaticResource diceConverter}}" telerikPrimitives:RadDockPanel.Dock="{Binding Saved, Converter={StaticResource dockConverter}}"> <i:Interaction.Triggers> <i:EventTrigger EventName="Click"> <cmd:EventToCommand Command="{Binding Source={StaticResource vm}, Path=SaveDiceCommand }" CommandParameter="{Binding}" PassEventArgsToCommand="true" /> </i:EventTrigger> </i:Interaction.Triggers> </Button> </DataTemplate> </ItemsControl.ItemTemplate> </ItemsControl> </telerikPrimitives:RadDockPanel>