|
| 1 | +<UserControl xmlns="https://github.com/avaloniaui" |
| 2 | + xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
| 3 | + xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
| 4 | + xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
| 5 | + xmlns:m="using:SourceGit.Models" |
| 6 | + xmlns:vm="using:SourceGit.ViewModels" |
| 7 | + xmlns:v="using:SourceGit.Views" |
| 8 | + xmlns:c="using:SourceGit.Converters" |
| 9 | + mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450" |
| 10 | + x:Class="SourceGit.Views.LFSTrackCustomPattern" |
| 11 | + x:DataType="vm:LFSTrackCustomPattern"> |
| 12 | + <StackPanel Orientation="Vertical" Margin="8,0"> |
| 13 | + <TextBlock FontSize="18" |
| 14 | + Classes="bold" |
| 15 | + Text="{DynamicResource Text.GitLFS.AddTrackPattern.Title}"/> |
| 16 | + |
| 17 | + <Grid Margin="0,16,0,0" RowDefinitions="32,32" ColumnDefinitions="150,*"> |
| 18 | + <TextBlock Grid.Row="0" Grid.Column="0" |
| 19 | + HorizontalAlignment="Right" VerticalAlignment="Center" |
| 20 | + Margin="0,0,8,0" |
| 21 | + Text="{DynamicResource Text.GitLFS.AddTrackPattern.Pattern}"/> |
| 22 | + <TextBox Grid.Row="0" Grid.Column="1" |
| 23 | + Height="28" |
| 24 | + CornerRadius="3" |
| 25 | + Text="{Binding Pattern, Mode=TwoWay}" |
| 26 | + v:AutoFocusBehaviour.IsEnabled="True"/> |
| 27 | + |
| 28 | + <CheckBox Grid.Row="1" Grid.Column="1" |
| 29 | + Content="{DynamicResource Text.GitLFS.AddTrackPattern.IsFilename}" |
| 30 | + IsChecked="{Binding IsFilename, Mode=TwoWay}"/> |
| 31 | + </Grid> |
| 32 | + </StackPanel> |
| 33 | +</UserControl> |
0 commit comments