mirror of
https://github.com/rmcrackan/Libation.git
synced 2026-05-10 08:37:55 -04:00
Avalonia 12 uses compiled bindings by default. Converted all remaining reflection bindings into compiled bindings, Fixed binding errors
47 lines
1.7 KiB
XML
47 lines
1.7 KiB
XML
<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="600" d:DesignHeight="450"
|
|
xmlns:controls="clr-namespace:LibationAvalonia.Controls"
|
|
xmlns:vm="clr-namespace:LibationAvalonia.ViewModels.Settings"
|
|
x:DataType="vm:ImportSettingsVM"
|
|
x:Class="LibationAvalonia.Controls.Settings.Import">
|
|
|
|
<StackPanel Margin="5">
|
|
<StackPanel.Styles>
|
|
<Style Selector="CheckBox">
|
|
<Setter Property="Margin" Value="0,0,0,10" />
|
|
<Style Selector="^ > TextBlock">
|
|
<Setter Property="TextWrapping" Value="Wrap" />
|
|
</Style>
|
|
</Style>
|
|
</StackPanel.Styles>
|
|
|
|
<CheckBox IsChecked="{Binding AutoScan, Mode=TwoWay}">
|
|
<TextBlock Text="{Binding AutoScanText}" />
|
|
</CheckBox>
|
|
|
|
<CheckBox IsChecked="{Binding ShowImportedStats, Mode=TwoWay}">
|
|
<TextBlock Text="{Binding ShowImportedStatsText}" />
|
|
</CheckBox>
|
|
|
|
<CheckBox IsChecked="{Binding ImportEpisodes, Mode=TwoWay}">
|
|
<TextBlock Text="{Binding ImportEpisodesText}" />
|
|
</CheckBox>
|
|
|
|
<CheckBox IsChecked="{Binding ImportPlusTitles, Mode=TwoWay}"
|
|
ToolTip.Tip="{Binding ImportPlusTitlesTip}">
|
|
<TextBlock Text="{Binding ImportPlusTitlesText}" />
|
|
</CheckBox>
|
|
|
|
<CheckBox IsChecked="{Binding DownloadEpisodes, Mode=TwoWay}">
|
|
<TextBlock Text="{Binding DownloadEpisodesText}" />
|
|
</CheckBox>
|
|
|
|
<CheckBox IsChecked="{Binding AutoDownloadEpisodes, Mode=TwoWay}">
|
|
<TextBlock Text="{Binding AutoDownloadEpisodesText}" />
|
|
</CheckBox>
|
|
</StackPanel>
|
|
</UserControl>
|