2021-04-29 05:05:55 -07:00
|
|
|
<controls:PopupWidget
|
|
|
|
x:Class="SourceGit.Views.Popups.GitFlowStart"
|
|
|
|
x:Name="me"
|
|
|
|
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:controls="clr-namespace:SourceGit.Views.Controls"
|
|
|
|
xmlns:validations="clr-namespace:SourceGit.Views.Validations"
|
|
|
|
mc:Ignorable="d"
|
2021-05-12 20:02:50 -07:00
|
|
|
d:DesignWidth="500">
|
2021-04-29 05:05:55 -07:00
|
|
|
<Grid>
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition Height="32"/>
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
<ColumnDefinition Width="150"/>
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
|
|
|
<TextBlock
|
|
|
|
Grid.Row="0" Grid.Column="0"
|
|
|
|
Margin="0,0,8,0"
|
|
|
|
x:Name="txtPrefix"
|
|
|
|
HorizontalAlignment="Right"/>
|
|
|
|
<controls:TextEdit
|
|
|
|
Grid.Row="0" Grid.Column="1"
|
|
|
|
x:Name="txtBranchName"
|
|
|
|
Height="24"
|
2021-07-20 01:26:10 -07:00
|
|
|
Placeholder="{DynamicResource Text.GitFlow.StartPlaceholder}">
|
2021-04-29 05:05:55 -07:00
|
|
|
<controls:TextEdit.Text>
|
|
|
|
<Binding ElementName="me" Path="BranchName" UpdateSourceTrigger="PropertyChanged" Mode="TwoWay">
|
|
|
|
<Binding.ValidationRules>
|
|
|
|
<validations:BranchName x:Name="ruleBranch"/>
|
|
|
|
</Binding.ValidationRules>
|
|
|
|
</Binding>
|
|
|
|
</controls:TextEdit.Text>
|
|
|
|
</controls:TextEdit>
|
|
|
|
</Grid>
|
|
|
|
</controls:PopupWidget>
|