MassiveKnob/Windows/MassiveKnob/View/Settings/StartupView.xaml

27 lines
1.4 KiB
XML

<UserControl x:Class="MassiveKnob.View.Settings.StartupView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:viewModel="clr-namespace:MassiveKnob.ViewModel"
xmlns:massiveKnob="clr-namespace:MassiveKnob"
mc:Ignorable="d"
d:DesignHeight="200" d:DesignWidth="800"
d:DataContext="{d:DesignInstance Type=viewModel:SettingsViewModelDesignTime, IsDesignTimeCreatable=True}">
<UserControl.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="../../Style.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</UserControl.Resources>
<StackPanel Orientation="Vertical" SnapsToDevicePixels="True" UseLayoutRounding="True" TextOptions.TextFormattingMode="Display">
<StackPanel Orientation="Vertical" Style="{StaticResource Content}">
<CheckBox Margin="0,0,0,8" IsChecked="{Binding RunAtStartup}">
<TextBlock Text="{x:Static massiveKnob:Strings.RunAtStartup}" />
</CheckBox>
</StackPanel>
</StackPanel>
</UserControl>