blob: df056b9e3729f83d79dfdfbe530fb3d2e7585890 (
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
|
<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="UVtools.WPF.Controls.Tools.ToolLayerExportSkeletonControl">
<StackPanel Spacing="10">
<StackPanel Orientation="Horizontal" Spacing="5">
<TextBox
Watermark="Output filepath"
UseFloatingWatermark="True"
VerticalAlignment="Center"
IsReadOnly="True"
Width="500"
Text="{Binding Operation.FilePath}"/>
<Button
VerticalAlignment="Stretch"
Command="{Binding ChooseFilePath}">
<Image Source="/Assets/Icons/open-16x16.png"/>
</Button>
</StackPanel>
<CheckBox
Content="Crop image by selected ROI"
IsVisible="{Binding ParentWindow.IsROIVisible}"
IsChecked="{Binding Operation.CropByROI}"/>
</StackPanel>
</UserControl>
|