diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.EmbroideryUI/EmbroideryFileEditor.xaml')
| -rw-r--r-- | Software/Visual_Studio/Tango.EmbroideryUI/EmbroideryFileEditor.xaml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.EmbroideryUI/EmbroideryFileEditor.xaml b/Software/Visual_Studio/Tango.EmbroideryUI/EmbroideryFileEditor.xaml new file mode 100644 index 000000000..34f1aec7e --- /dev/null +++ b/Software/Visual_Studio/Tango.EmbroideryUI/EmbroideryFileEditor.xaml @@ -0,0 +1,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> |
