blob: 34f1aec7e07cad6e1112e3d88aa232674f08d361 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
<UserControl x:Class="Tango.EmbroideryUI.EmbroideryFileEditor"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:editor="clr-namespace:Tango.Editors;assembly=Tango.Editors"
xmlns:local="clr-namespace:Tango.EmbroideryUI"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="300" Background="Black">
<Grid>
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<Thumb Grid.ColumnSpan="2" Grid.RowSpan="2" Opacity="0" DragDelta="OnThumbDragging" DragStarted="OnThumbDragStarted" DragCompleted="OnDragCompleted"></Thumb>
<ItemsControl x:Name="list" Grid.Column="1" Grid.Row="1" ItemsSource="{Binding RelativeSource={RelativeSource AncestorType=UserControl},Path=Paths}">
<ItemsControl.ItemsPanel>
<ItemsPanelTemplate>
<Canvas />
</ItemsPanelTemplate>
</ItemsControl.ItemsPanel>
</ItemsControl>
</Grid>
</Grid>
</UserControl>
|