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

ToolBlurControl.axaml « Tools « Controls « UVtools.WPF - github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 36bbe8428913d88c84d38054a5329d9415003f81 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<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"
             xmlns:uc="clr-namespace:UVtools.WPF.Controls"
             mc:Ignorable="d" d:DesignWidth="500" d:DesignHeight="450"
             x:Class="UVtools.WPF.Controls.Tools.ToolBlurControl">

  <StackPanel Spacing="10">
    <Grid 
      ColumnDefinitions="Auto,10,*"
      RowDefinitions="Auto,10,Auto">

      <TextBlock 
        VerticalAlignment="Center"
        Text="Algorithm:"/>
      <ComboBox
        Grid.Column="2"
        HorizontalAlignment="Left"
        SelectedIndex="{Binding SelectedAlgorithmIndex}"
        Width="450"
        Items="{Binding Operation.BlurTypes}"
        />

      <TextBlock 
        VerticalAlignment="Center"
        Grid.Row="2"
        IsEnabled="{Binding IsSizeEnabled}"
        Text="Size:"/>
      <NumericUpDown
        Grid.Row="2"
        Grid.Column="2"
        HorizontalAlignment="Left"
        Width="80"
        Minimum="1"
        IsEnabled="{Binding IsSizeEnabled}"
        Value="{Binding Operation.Size}"
        />
    </Grid>

    <uc:KernelControl
      Name="KernelCtrl"
      IsVisible="{Binding $parent[UserControl].IsKernelVisible}"
      />
    
  </StackPanel>

</UserControl>