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

ToolEditParametersControl.axaml « Tools « Controls « UVtools.WPF - github.com/sn4k3/UVtools.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: e485b250929de7aeb1e8ce79b4cfd91eb105dfc5 (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
49
50
51
52
53
54
55
56
57
58
<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.ToolEditParametersControl">

  <StackPanel Spacing="15">

    <CheckBox
      IsChecked="{Binding Operation.PerLayerOverride}"
      IsVisible="{Binding SupportPerLayerSettings}"
      Content="Change settings per a layer range"/>

    <Grid
      Name="grid"
      RowDefinitions="Auto"
      ColumnDefinitions="Auto,Auto,Auto,Auto,*"
      VerticalAlignment="Center"
      ShowGridLines="True"
    >

      <TextBlock
        Grid.Column="0"
        VerticalAlignment="Center"
        FontWeight="Bold"
        Padding="15"
        Text="Property"/>
      <TextBlock
        Grid.Column="1"
        VerticalAlignment="Center"
        HorizontalAlignment="Center"
        FontWeight="Bold"
        Padding="15"
        Text="Old value"/>
      <TextBlock
        Grid.Column="2"
        VerticalAlignment="Center"
        HorizontalAlignment="Center"
        FontWeight="Bold"
        Padding="15"
        Text="New value"/>
      <TextBlock
        Grid.Column="3"
        VerticalAlignment="Center"
        FontWeight="Bold"
        Padding="15"
        Text="Unit"/>
      <TextBlock
        Grid.Column="4"
        VerticalAlignment="Center"
        HorizontalAlignment="Center"
        FontWeight="Bold"
        Padding="15"
        Text="Reset"/>
    </Grid>
  </StackPanel>
</UserControl>