|
|
|
@ -22,12 +22,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
<Border>
|
|
|
|
<Border>
|
|
|
|
<md:DrawerHost BottomDrawerBackground="Transparent" IsBottomDrawerOpen="{Binding IsOpenMode}" OpenMode="Standard">
|
|
|
|
<md:DrawerHost BottomDrawerBackground="Transparent" IsBottomDrawerOpen="{Binding IsOpenMode}" OpenMode="Standard">
|
|
|
|
|
|
|
|
<Border BorderBrush="#1D3649" BorderThickness="0 0 0 2">
|
|
|
|
<Grid Background="Transparent">
|
|
|
|
<Grid Background="Transparent">
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="80"/>
|
|
|
|
<RowDefinition Height="80"/>
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
<RowDefinition Height="60"/>
|
|
|
|
<RowDefinition Height="40"/>
|
|
|
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
<Grid Margin="0 0 0 12">
|
|
|
|
<Grid Margin="0 0 0 12">
|
|
|
|
<!--<Grid.Background>
|
|
|
|
<!--<Grid.Background>
|
|
|
|
@ -357,10 +357,12 @@
|
|
|
|
</Grid.Style>
|
|
|
|
</Grid.Style>
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
|
<Button Command="{Binding TanksPager.FirstPageCommand}" Style="{StaticResource MaterialDesignFlatLightBgButton}" Margin="4,0">
|
|
|
|
<Button Command="{Binding TanksPager.FirstPageCommand}"
|
|
|
|
|
|
|
|
Style="{StaticResource PageCommandButtonStyle}" Margin="4,0">
|
|
|
|
<md:PackIcon Kind="PageFirst"/>
|
|
|
|
<md:PackIcon Kind="PageFirst"/>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
<Button Command="{Binding TanksPager.PrevPageCommand}" Style="{StaticResource MaterialDesignFlatLightBgButton}" Margin="4,0">
|
|
|
|
<Button Command="{Binding TanksPager.PrevPageCommand}"
|
|
|
|
|
|
|
|
Style="{StaticResource PageCommandButtonStyle}" Margin="4,0">
|
|
|
|
<md:PackIcon Kind="ChevronLeft"/>
|
|
|
|
<md:PackIcon Kind="ChevronLeft"/>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
@ -368,14 +370,14 @@
|
|
|
|
ItemsSource="{Binding PageNumbers}">
|
|
|
|
ItemsSource="{Binding PageNumbers}">
|
|
|
|
<ItemsControl.ItemsPanel>
|
|
|
|
<ItemsControl.ItemsPanel>
|
|
|
|
<ItemsPanelTemplate>
|
|
|
|
<ItemsPanelTemplate>
|
|
|
|
<StackPanel Orientation="Horizontal" />
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="32 0"/>
|
|
|
|
</ItemsPanelTemplate>
|
|
|
|
</ItemsPanelTemplate>
|
|
|
|
</ItemsControl.ItemsPanel>
|
|
|
|
</ItemsControl.ItemsPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<ItemsControl.ItemTemplate>
|
|
|
|
<ItemsControl.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<Button Margin="2"
|
|
|
|
<Button Margin="6" Padding="6 0"
|
|
|
|
Padding="6,2"
|
|
|
|
Width="21" Height="20"
|
|
|
|
Command="{Binding DataContext.GoToPageCommand,
|
|
|
|
Command="{Binding DataContext.GoToPageCommand,
|
|
|
|
RelativeSource={RelativeSource AncestorType=ItemsControl}}"
|
|
|
|
RelativeSource={RelativeSource AncestorType=ItemsControl}}"
|
|
|
|
CommandParameter="{Binding}">
|
|
|
|
CommandParameter="{Binding}">
|
|
|
|
@ -387,8 +389,9 @@
|
|
|
|
<Button.Style>
|
|
|
|
<Button.Style>
|
|
|
|
<Style TargetType="Button">
|
|
|
|
<Style TargetType="Button">
|
|
|
|
<Setter Property="Background" Value="Transparent" />
|
|
|
|
<Setter Property="Background" Value="Transparent" />
|
|
|
|
<Setter Property="BorderBrush" Value="Gray" />
|
|
|
|
<Setter Property="BorderBrush" Value="#264A60" />
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
|
|
|
|
|
|
<Setter Property="Foreground" Value="#264A60"/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 현재 페이지면 강조 -->
|
|
|
|
<!-- 현재 페이지면 강조 -->
|
|
|
|
<Style.Triggers>
|
|
|
|
<Style.Triggers>
|
|
|
|
@ -402,8 +405,9 @@
|
|
|
|
RelativeSource="{RelativeSource AncestorType=ItemsControl}" />
|
|
|
|
RelativeSource="{RelativeSource AncestorType=ItemsControl}" />
|
|
|
|
</MultiBinding>
|
|
|
|
</MultiBinding>
|
|
|
|
</DataTrigger.Binding>
|
|
|
|
</DataTrigger.Binding>
|
|
|
|
<Setter Property="Background" Value="#FF007ACC" />
|
|
|
|
<Setter Property="Background" Value="#325C80" />
|
|
|
|
<Setter Property="Foreground" Value="White" />
|
|
|
|
<Setter Property="Foreground" Value="White" />
|
|
|
|
|
|
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
|
|
</DataTrigger>
|
|
|
|
</DataTrigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
@ -414,11 +418,11 @@
|
|
|
|
</ItemsControl>
|
|
|
|
</ItemsControl>
|
|
|
|
|
|
|
|
|
|
|
|
<Button Command="{Binding TanksPager.NextPageCommand}"
|
|
|
|
<Button Command="{Binding TanksPager.NextPageCommand}"
|
|
|
|
Style="{StaticResource MaterialDesignFlatLightBgButton}" Margin="4,0">
|
|
|
|
Style="{StaticResource PageCommandButtonStyle}" Margin="4,0">
|
|
|
|
<md:PackIcon Kind="ChevronRight"/>
|
|
|
|
<md:PackIcon Kind="ChevronRight"/>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
<Button Command="{Binding TanksPager.LastPageCommand}"
|
|
|
|
<Button Command="{Binding TanksPager.LastPageCommand}"
|
|
|
|
Style="{StaticResource MaterialDesignFlatLightBgButton}" Margin="4,0">
|
|
|
|
Style="{StaticResource PageCommandButtonStyle}" Margin="4,0">
|
|
|
|
<md:PackIcon Kind="PageLast"/>
|
|
|
|
<md:PackIcon Kind="PageLast"/>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
@ -439,25 +443,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
|
|
|
|
<Button Command="{Binding FirstPageCommand}"
|
|
|
|
<Button Command="{Binding FirstPageCommand}"
|
|
|
|
Style="{StaticResource MaterialDesignFlatLightBgButton}" Margin="4,0">
|
|
|
|
Style="{StaticResource PageCommandButtonStyle}"
|
|
|
|
|
|
|
|
Margin="4,0">
|
|
|
|
<md:PackIcon Kind="PageFirst"/>
|
|
|
|
<md:PackIcon Kind="PageFirst"/>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
<Button Command="{Binding PrevPageCommand}"
|
|
|
|
<Button Command="{Binding PrevPageCommand}"
|
|
|
|
Style="{StaticResource MaterialDesignFlatLightBgButton}" Margin="4,0">
|
|
|
|
Style="{StaticResource PageCommandButtonStyle}" Margin="4,0">
|
|
|
|
<md:PackIcon Kind="ChevronLeft"/>
|
|
|
|
<md:PackIcon Kind="ChevronLeft"/>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
<ItemsControl ItemsSource="{Binding PageNumbers}">
|
|
|
|
<ItemsControl ItemsSource="{Binding PageNumbers}">
|
|
|
|
<ItemsControl.ItemsPanel>
|
|
|
|
<ItemsControl.ItemsPanel>
|
|
|
|
<ItemsPanelTemplate>
|
|
|
|
<ItemsPanelTemplate>
|
|
|
|
<StackPanel Orientation="Horizontal" />
|
|
|
|
<StackPanel Orientation="Horizontal" Margin="32 0"/>
|
|
|
|
</ItemsPanelTemplate>
|
|
|
|
</ItemsPanelTemplate>
|
|
|
|
</ItemsControl.ItemsPanel>
|
|
|
|
</ItemsControl.ItemsPanel>
|
|
|
|
|
|
|
|
|
|
|
|
<ItemsControl.ItemTemplate>
|
|
|
|
<ItemsControl.ItemTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<DataTemplate>
|
|
|
|
<Button Margin="2"
|
|
|
|
<Button Margin="6" Padding="6 0"
|
|
|
|
Padding="6,2"
|
|
|
|
Width="21" Height="20"
|
|
|
|
Command="{Binding DataContext.GoToPageCommand,
|
|
|
|
Command="{Binding DataContext.GoToPageCommand,
|
|
|
|
RelativeSource={RelativeSource AncestorType=ItemsControl}}"
|
|
|
|
RelativeSource={RelativeSource AncestorType=ItemsControl}}"
|
|
|
|
CommandParameter="{Binding}">
|
|
|
|
CommandParameter="{Binding}">
|
|
|
|
@ -467,8 +472,9 @@
|
|
|
|
<Button.Style>
|
|
|
|
<Button.Style>
|
|
|
|
<Style TargetType="Button">
|
|
|
|
<Style TargetType="Button">
|
|
|
|
<Setter Property="Background" Value="Transparent" />
|
|
|
|
<Setter Property="Background" Value="Transparent" />
|
|
|
|
<Setter Property="BorderBrush" Value="Gray" />
|
|
|
|
<Setter Property="BorderBrush" Value="#264A60" />
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
|
|
<Setter Property="BorderThickness" Value="1" />
|
|
|
|
|
|
|
|
<Setter Property="Foreground" Value="#264A60"/>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 🔹 현재 페이지면 강조 -->
|
|
|
|
<!-- 🔹 현재 페이지면 강조 -->
|
|
|
|
<Style.Triggers>
|
|
|
|
<Style.Triggers>
|
|
|
|
@ -482,8 +488,9 @@
|
|
|
|
RelativeSource="{RelativeSource AncestorType=ItemsControl}" />
|
|
|
|
RelativeSource="{RelativeSource AncestorType=ItemsControl}" />
|
|
|
|
</MultiBinding>
|
|
|
|
</MultiBinding>
|
|
|
|
</DataTrigger.Binding>
|
|
|
|
</DataTrigger.Binding>
|
|
|
|
<Setter Property="Background" Value="#FF007ACC" />
|
|
|
|
<Setter Property="Background" Value="#325C80" />
|
|
|
|
<Setter Property="Foreground" Value="White" />
|
|
|
|
<Setter Property="Foreground" Value="White" />
|
|
|
|
|
|
|
|
<Setter Property="BorderThickness" Value="0" />
|
|
|
|
</DataTrigger>
|
|
|
|
</DataTrigger>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style.Triggers>
|
|
|
|
</Style>
|
|
|
|
</Style>
|
|
|
|
@ -494,11 +501,11 @@
|
|
|
|
</ItemsControl>
|
|
|
|
</ItemsControl>
|
|
|
|
|
|
|
|
|
|
|
|
<Button Command="{Binding NextPageCommand}"
|
|
|
|
<Button Command="{Binding NextPageCommand}"
|
|
|
|
Style="{StaticResource MaterialDesignFlatLightBgButton}" Margin="4,0">
|
|
|
|
Style="{StaticResource PageCommandButtonStyle}" Margin="4,0">
|
|
|
|
<md:PackIcon Kind="ChevronRight"/>
|
|
|
|
<md:PackIcon Kind="ChevronRight"/>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
<Button Command="{Binding LastPageCommand}"
|
|
|
|
<Button Command="{Binding LastPageCommand}"
|
|
|
|
Style="{StaticResource MaterialDesignFlatLightBgButton}" Margin="4,0">
|
|
|
|
Style="{StaticResource PageCommandButtonStyle}" Margin="4,0">
|
|
|
|
<md:PackIcon Kind="PageLast"/>
|
|
|
|
<md:PackIcon Kind="PageLast"/>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
@ -506,8 +513,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
<Grid Grid.Row="3" VerticalAlignment="Bottom">
|
|
|
|
<Grid Grid.Row="3" VerticalAlignment="Bottom">
|
|
|
|
<Button Name="btnVisibilityDown" Tag="down"
|
|
|
|
<Button Name="btnVisibilityDown" Tag="down"
|
|
|
|
Style="{StaticResource TrapezoidButtonStyle}" Height="33" Command="{Binding ChangeDrawerStatusCommand}"
|
|
|
|
Style="{StaticResource TrapezoidButtonStyle}" Command="{Binding ChangeDrawerStatusCommand}"
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Center" Visibility="{Binding BtnVisibilityDown}">
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Left" Visibility="{Binding BtnVisibilityDown}">
|
|
|
|
<Path Data="M6.364 4.94983L1.414 -0.000167768L3.54069e-07 1.41383L6.364 7.77783L12.728 1.41383L11.314 -0.000167217L6.364 4.94983Z"
|
|
|
|
<Path Data="M6.364 4.94983L1.414 -0.000167768L3.54069e-07 1.41383L6.364 7.77783L12.728 1.41383L11.314 -0.000167217L6.364 4.94983Z"
|
|
|
|
Fill="White" Stretch="Uniform"
|
|
|
|
Fill="White" Stretch="Uniform"
|
|
|
|
Width="12.728" Height="7.78"
|
|
|
|
Width="12.728" Height="7.78"
|
|
|
|
@ -516,15 +523,19 @@
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
|
|
|
|
|
|
|
|
<Button Name="btnVisibilityUp" Tag="up"
|
|
|
|
<Button Name="btnVisibilityUp" Tag="up"
|
|
|
|
Style="{StaticResource TrapezoidButtonStyle}" Height="33" Command="{Binding ChangeDrawerStatusCommand}"
|
|
|
|
Style="{StaticResource TrapezoidButtonStyle}" Command="{Binding ChangeDrawerStatusCommand}"
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Center" Visibility="{Binding BtnVisibilityUp}">
|
|
|
|
VerticalAlignment="Bottom" HorizontalAlignment="Left" Visibility="{Binding BtnVisibilityUp}">
|
|
|
|
|
|
|
|
<Path Data="M6.364 2.828L1.414 7.778L0 6.364L6.364 0L12.728 6.364L11.314 7.778Z"
|
|
|
|
|
|
|
|
Fill="White" Stretch="Uniform"
|
|
|
|
|
|
|
|
Width="12.728" Height="7.78"
|
|
|
|
|
|
|
|
HorizontalAlignment="Center"
|
|
|
|
|
|
|
|
VerticalAlignment="Center"/>
|
|
|
|
</Button>
|
|
|
|
</Button>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
|
|
|
|
</Border>
|
|
|
|
<md:DrawerHost.BottomDrawerContent>
|
|
|
|
<md:DrawerHost.BottomDrawerContent>
|
|
|
|
<Border x:Name="BottomDrawerRoot" Height="450"
|
|
|
|
<Border x:Name="BottomDrawerRoot" Height="400" CornerRadius="0 4 4 4" Background="#1D3649">
|
|
|
|
BorderThickness="0 3 0 0" BorderBrush="#455569">
|
|
|
|
|
|
|
|
<Grid>
|
|
|
|
<Grid>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="550"/>
|
|
|
|
<ColumnDefinition Width="550"/>
|
|
|
|
@ -585,17 +596,30 @@
|
|
|
|
<TextBlock Text="수조 (복수 선택)" VerticalAlignment="Center"
|
|
|
|
<TextBlock Text="수조 (복수 선택)" VerticalAlignment="Center"
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream5}" Foreground="White"/>
|
|
|
|
FontSize="20" FontFamily="{StaticResource SCDream5}" Foreground="White"/>
|
|
|
|
|
|
|
|
|
|
|
|
<Border CornerRadius="10" Background="White" Margin="0 5 0 10">
|
|
|
|
<Border CornerRadius="10" Margin="0 5 0 10">
|
|
|
|
<ListBox ItemsSource="{Binding TankGroups}"
|
|
|
|
<ListBox ItemsSource="{Binding TankGroups}"
|
|
|
|
DisplayMemberPath="Key"
|
|
|
|
|
|
|
|
SelectionMode="Extended"
|
|
|
|
SelectionMode="Extended"
|
|
|
|
helper:MultiSelectBehavior.SelectedDictionary="{Binding SelectedWaterTanks, Mode=OneWay}"
|
|
|
|
helper:MultiSelectBehavior.SelectedDictionary="{Binding SelectedWaterTanks}"
|
|
|
|
helper:MultiSelectBehavior.KeyPath="Key"
|
|
|
|
helper:MultiSelectBehavior.KeyPath="Key"
|
|
|
|
helper:MultiSelectBehavior.ValuePath="Value"
|
|
|
|
helper:MultiSelectBehavior.ValuePath="Value"
|
|
|
|
Height="Auto" Background="White"
|
|
|
|
|
|
|
|
FontSize="16" FontWeight="Bold"
|
|
|
|
FontSize="16" FontWeight="Bold"
|
|
|
|
FontFamily="{StaticResource SCDream5}"
|
|
|
|
FontFamily="{StaticResource SCDream5}"
|
|
|
|
Style="{StaticResource MaterialDesignFilterChipListBox}"/>
|
|
|
|
Style="{StaticResource MaterialDesignChoiceChipListBox}"
|
|
|
|
|
|
|
|
ItemContainerStyle="{StaticResource TransparentListBoxItemStyle}"
|
|
|
|
|
|
|
|
Background="Transparent">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<ListBox.ItemTemplate>
|
|
|
|
|
|
|
|
<DataTemplate>
|
|
|
|
|
|
|
|
<ToggleButton Content="{Binding Key}"
|
|
|
|
|
|
|
|
Focusable="False"
|
|
|
|
|
|
|
|
IsChecked="{Binding IsSelected,
|
|
|
|
|
|
|
|
RelativeSource={RelativeSource AncestorType=ListBoxItem}}"
|
|
|
|
|
|
|
|
Style="{StaticResource SquareCheckToggleButtonStyle}"
|
|
|
|
|
|
|
|
Margin="0 0 20 0"/>
|
|
|
|
|
|
|
|
</DataTemplate>
|
|
|
|
|
|
|
|
</ListBox.ItemTemplate>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</ListBox>
|
|
|
|
</Border>
|
|
|
|
</Border>
|
|
|
|
</StackPanel>
|
|
|
|
</StackPanel>
|
|
|
|
|
|
|
|
|
|
|
|
|