45 lines
2.0 KiB
Plaintext
45 lines
2.0 KiB
Plaintext
|
<Window x:Class="CtrEditor.PopUps.SelectPages" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||
|
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:xctk="http://schemas.xceed.com/wpf/xaml/toolkit" xmlns:local="clr-namespace:CtrEditor.PopUps"
|
||
|
xmlns:viewModels="clr-namespace:CtrEditor.PopUps" mc:Ignorable="d" Title="Select Pages to Process..."
|
||
|
Height="450" Width="400">
|
||
|
|
||
|
<Window.DataContext>
|
||
|
<viewModels:AssignImagesViewModel />
|
||
|
</Window.DataContext>
|
||
|
|
||
|
<Grid>
|
||
|
<Grid.RowDefinitions>
|
||
|
<RowDefinition Height="Auto" />
|
||
|
<RowDefinition Height="*" />
|
||
|
<RowDefinition Height="Auto" />
|
||
|
</Grid.RowDefinitions>
|
||
|
|
||
|
<ToolBarTray Grid.Row="0">
|
||
|
<ToolBar>
|
||
|
<Button Command="{Binding TBSelectAllCommand}" ToolTip="Select All">
|
||
|
<StackPanel>
|
||
|
<Image Source="/Icons/allselect.png" Width="16" Height="16" />
|
||
|
<TextBlock Text="Select All" />
|
||
|
</StackPanel>
|
||
|
</Button>
|
||
|
<Button Command="{Binding TBUnSelectAllCommand}" ToolTip="Unselect All">
|
||
|
<StackPanel>
|
||
|
<Image Source="/Icons/unselect.png" Width="16" Height="16" />
|
||
|
<TextBlock Text="Unselect" />
|
||
|
</StackPanel>
|
||
|
</Button>
|
||
|
</ToolBar>
|
||
|
</ToolBarTray>
|
||
|
<!-- Lista de Imágenes con CheckListBox -->
|
||
|
<xctk:CheckListBox Grid.Row="1" ItemsSource="{Binding ListaImagenes}" DisplayMemberPath="."
|
||
|
SelectedItemsOverride="{Binding SelectedImagenes, Mode=TwoWay}" />
|
||
|
|
||
|
<!-- Botón para guardar cambios -->
|
||
|
<Button Grid.Row="2" Grid.ColumnSpan="1" Content="Run" Command="{Binding AssignImagesCommand}"
|
||
|
Margin="10,10,10,10" />
|
||
|
</Grid>
|
||
|
</Window>
|