FluidMoveBehavior
1 | <StackPanel x:Name="Panel" Grid.Row="0"> |
now add items:
1 | Rectangle rect = new Rectangle(); |
or remove items:
1 | if (this.Panel.Children.Count > 0) |
MouseDragElementBehavior
1 | <Rectangle Width="40" Height="40" Fill="DeepPink"> |
1 | <StackPanel x:Name="Panel" Grid.Row="0"> |
now add items:
1 | Rectangle rect = new Rectangle(); |
or remove items:
1 | if (this.Panel.Children.Count > 0) |
1 | <Rectangle Width="40" Height="40" Fill="DeepPink"> |