Welcome to mirror list, hosted at ThFree Co, Russian Federation.

ToolFlipControl.axaml « Tools « Controls « UVtools.WPF - github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 906159ac781161d66260b9912ebdcdc63deda351 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<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="200"
             x:Class="UVtools.WPF.Controls.Tools.ToolFlipControl">
  <StackPanel Orientation="Horizontal" Spacing="10">
    <TextBlock VerticalAlignment="Center" Text="Flip direction:"/>
    <ComboBox
      MinWidth="150"
      Items="{Binding Operation.FlipDirection, Converter={StaticResource EnumToCollectionConverter}, Mode=OneTime}"
      SelectedItem="{Binding Operation.FlipDirection, Converter={StaticResource FromValueDescriptionToEnumConverter}}"/>
    <CheckBox
      ToolTip.Tip="If checked, rather than simply flipping the layer, a copy of each layer will be flipped and blended with the layer."
      IsChecked="{Binding Operation.MakeCopy}" 
      Content="Blend layers" />
  </StackPanel>
</UserControl>