1
0
Flawless-Version-Control/Flawless.Client/Views/ModalBox/CreateRepositoryDialogView.axaml

26 lines
1.2 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"
xmlns:u="https://irihi.tech/ursa"
xmlns:vm="using:Flawless.Client.ViewModels.ModalBox"
x:DataType="vm:CreateRepositoryDialogViewModel"
d:DesignHeight="450" d:DesignWidth="800" mc:Ignorable="d"
MinWidth="400"
x:Class="Flawless.Client.Views.ModalBox.CreateRepositoryDialogView">
<u:Form HorizontalAlignment="Stretch" LabelPosition="Top">
<u:Form.ItemsPanel>
<ItemsPanelTemplate>
<Grid ColumnDefinitions="*" RowDefinitions="*, *" />
</ItemsPanelTemplate>
</u:Form.ItemsPanel>
<u:FormItem Grid.Row="0" Label="Name">
<TextBox Text="{Binding RepositoryName}"/>
</u:FormItem>
<u:FormItem Grid.Row="1" Label="Description">
<TextBox MinHeight="40" MaxHeight="80" Text="{Binding Description}"/>
</u:FormItem>
</u:Form>
</UserControl>