This commit is contained in:
NaBian committed 2020-06-30 00:09:24 +08:00
1 parent 2d9b6bb8ad
commit 148530b91d
14 files changed
+132 -28

No files matched your search

@@ -2,10 +2,27 @@
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:langs="clr-namespace:HandyControlDemo.Properties.Langs"
xmlns:ex="clr-namespace:HandyControlDemo.Tools.Extension"
xmlns:userControl="clr-namespace:HandyControlDemo.UserControl"
DataContext="{Binding RelativeSource={RelativeSource Self}}"
Background="{DynamicResource RegionBrush}">
<hc:TransitioningContentControl>
<WrapPanel Name="panel"/>
<ListBox Effect="{StaticResource EffectShadow2}" Margin="32" BorderThickness="0" Style="{StaticResource ListBoxCustom}" Background="Transparent" ItemsSource="{Binding GeometryItems}">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<hc:HoneycombPanel>
<hc:HoneycombPanel.RenderTransform>
<TransformGroup>
<TranslateTransform X="-32"/>
</TransformGroup>
</hc:HoneycombPanel.RenderTransform>
</hc:HoneycombPanel>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
<ListBox.ItemTemplate>
<DataTemplate>
<userControl:GeometryItem Info="{Binding}"/>
</DataTemplate>
</ListBox.ItemTemplate>
</ListBox>
</hc:TransitioningContentControl>
</UserControl>