2019-11-13 19:26:04 +00:00
|
|
|
<Window 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"
|
2019-11-13 20:22:36 +00:00
|
|
|
mc:Ignorable="d" MinWidth="720" MinHeight="480"
|
2019-11-13 19:26:04 +00:00
|
|
|
x:Class="BFR.MainWindow"
|
|
|
|
Title="BFR">
|
2019-11-14 16:21:25 +00:00
|
|
|
<Grid RowDefinitions="auto,auto,*" ColumnDefinitions="*,*,*" Classes="StyleBorders">
|
|
|
|
<!-- Directory Selection + Filters -->
|
|
|
|
<Border Grid.Row="0" Grid.ColumnSpan="3">
|
|
|
|
<Grid RowDefinitions="*,auto" ColumnDefinitions="auto,*,auto">
|
|
|
|
<Expander Grid.Column="0" Name="FilterExpander" Header="Filter"/>
|
|
|
|
<TextBox Grid.Column="1" IsEnabled="False" Text="C:/Example.File.png"/>
|
|
|
|
<Button Grid.Column="2" Content=" ... "/>
|
|
|
|
|
|
|
|
<!-- Filters -->
|
|
|
|
<Grid Grid.Row="1" Grid.ColumnSpan="3" ColumnDefinitions="auto,*,auto,*,auto,auto,auto,auto" IsVisible="{Binding #FilterExpander.IsExpanded}">
|
|
|
|
<TextBlock Grid.Column="0" Text="Extension:"/>
|
|
|
|
<TextBox Grid.Column="1"/>
|
|
|
|
<TextBlock Grid.Column="2" Text="Name:"/>
|
|
|
|
<TextBox Grid.Column="3"/>
|
|
|
|
<TextBlock Grid.Column="4" Text="Full Name:"/>
|
|
|
|
<CheckBox Grid.Column="5"/>
|
|
|
|
<TextBlock Grid.Column="6" Text="Regex:"/>
|
|
|
|
<CheckBox Grid.Column="7" Margin="4,4,5,4"/>
|
|
|
|
</Grid>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
|
|
|
|
2019-11-13 20:22:36 +00:00
|
|
|
<!-- ListBox Headers -->
|
2019-11-13 22:01:08 +00:00
|
|
|
<TextBox Classes="HeaderTextBox" Grid.Row="1" Grid.Column="0" Text="Before"/>
|
|
|
|
<TextBox Classes="HeaderTextBox" Grid.Row="1" Grid.Column="1" Text="Operations"/>
|
|
|
|
<TextBox Classes="HeaderTextBox" Grid.Row="1" Grid.Column="2" Text="After"/>
|
2019-11-13 20:22:36 +00:00
|
|
|
|
|
|
|
<!-- Current and Preview ListBoxes -->
|
|
|
|
<ListBox Grid.Row="2" Grid.Column="0"/>
|
|
|
|
<ListBox Grid.Row="2" Grid.Column="2"/>
|
|
|
|
|
|
|
|
<!-- Middle Section (Operations, Controls) -->
|
2019-11-14 16:21:25 +00:00
|
|
|
<Grid Grid.Row="2" Grid.Column="1" RowDefinitions="*,auto,auto" Classes="StyleBorders">
|
2019-11-13 20:22:36 +00:00
|
|
|
<!-- Operations ListBox -->
|
2019-11-14 16:21:25 +00:00
|
|
|
<ListBox Grid.Row="0"/>
|
2019-11-13 20:22:36 +00:00
|
|
|
|
|
|
|
<!-- Operations Controls -->
|
2019-11-13 22:01:08 +00:00
|
|
|
<Border Grid.Row="1" Classes="ConnectUp">
|
|
|
|
<Grid ColumnDefinitions="auto,*,auto,auto,auto">
|
|
|
|
<TextBlock Grid.Column="0" Text="New:"/>
|
|
|
|
<ComboBox Grid.Column="1"/>
|
|
|
|
<Button Grid.Column="2" Content=" + "/>
|
|
|
|
<Button Grid.Column="3" Content=" - "/>
|
|
|
|
<ButtonSpinner Grid.Column="4"/>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
2019-11-13 20:22:36 +00:00
|
|
|
|
|
|
|
<!-- Commit and Undo Buttons -->
|
2019-11-13 22:01:08 +00:00
|
|
|
<Border Grid.Row="2" Classes="ConnectUp">
|
|
|
|
<Grid ColumnDefinitions="*,*">
|
|
|
|
<Button Grid.Column="0" Content="Undo"/>
|
|
|
|
<Button Grid.Column="1" Content="Rename All"/>
|
|
|
|
</Grid>
|
|
|
|
</Border>
|
2019-11-13 20:22:36 +00:00
|
|
|
</Grid>
|
|
|
|
</Grid>
|
2019-11-13 22:01:08 +00:00
|
|
|
|
|
|
|
<Window.Styles>
|
2019-11-14 16:21:25 +00:00
|
|
|
<Style Selector="Grid > Expander">
|
|
|
|
<Setter Property="Margin" Value="4"/>
|
|
|
|
</Style>
|
2019-11-13 22:01:08 +00:00
|
|
|
<Style Selector="Grid > ListBox">
|
|
|
|
<Setter Property="Margin" Value="4"/>
|
|
|
|
</Style>
|
|
|
|
<Style Selector="Grid > TextBox">
|
|
|
|
<Setter Property="Margin" Value="4"/>
|
|
|
|
<Setter Property="Grid.Column" Value="1"/>
|
|
|
|
</Style>
|
|
|
|
<Style Selector="Grid > Button">
|
|
|
|
<Setter Property="Margin" Value="4"/>
|
|
|
|
<Setter Property="Grid.Column" Value="1"/>
|
|
|
|
</Style>
|
|
|
|
<Style Selector="Grid > ButtonSpinner">
|
|
|
|
<Setter Property="Margin" Value="4"/>
|
|
|
|
<Setter Property="Grid.Column" Value="1"/>
|
|
|
|
</Style>
|
|
|
|
<Style Selector="Grid > ComboBox">
|
|
|
|
<Setter Property="Margin" Value="4"/>
|
|
|
|
<Setter Property="Grid.Column" Value="1"/>
|
|
|
|
</Style>
|
2019-11-14 16:21:25 +00:00
|
|
|
<Style Selector="Grid > CheckBox">
|
|
|
|
<Setter Property="Margin" Value="4"/>
|
|
|
|
<Setter Property="Grid.Column" Value="1"/>
|
|
|
|
</Style>
|
2019-11-13 22:01:08 +00:00
|
|
|
<Style Selector="Grid > TextBlock">
|
|
|
|
<Setter Property="Margin" Value="8"/>
|
|
|
|
<Setter Property="Grid.Column" Value="0"/>
|
|
|
|
<Setter Property="VerticalAlignment" Value="Center"/>
|
|
|
|
</Style>
|
|
|
|
<Style Selector="Grid > TextBox.HeaderTextBox">
|
|
|
|
<Setter Property="Margin" Value="4,4,4,-5"/>
|
|
|
|
<Setter Property="TextAlignment" Value="Center"/>
|
|
|
|
<Setter Property="FontWeight" Value="Bold"/>
|
|
|
|
</Style>
|
2019-11-14 16:21:25 +00:00
|
|
|
<Style Selector="Grid.StyleBorders > Border">
|
2019-11-13 22:01:08 +00:00
|
|
|
<Setter Property="Margin" Value="4"/>
|
|
|
|
<Setter Property="Padding" Value="4"/>
|
|
|
|
<Setter Property="BorderBrush" Value="Gray"/>
|
|
|
|
<Setter Property="BorderThickness" Value="1"/>
|
|
|
|
</Style>
|
2019-11-14 16:21:25 +00:00
|
|
|
<Style Selector="Border.ConnectUp">
|
2019-11-13 22:01:08 +00:00
|
|
|
<Setter Property="Margin" Value="4,-5,4,4"/>
|
|
|
|
</Style>
|
|
|
|
</Window.Styles>
|
2019-11-13 19:26:04 +00:00
|
|
|
</Window>
|