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

23 lines
1005 B
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:SimpleMessageDialogViewModel"
d:DesignHeight="450" d:DesignWidth="800" mc:Ignorable="d"
MinWidth="400"
x:Class="Flawless.Client.Views.ModalBox.SimpleMessageDialogView">
<u:Form HorizontalAlignment="Stretch" LabelPosition="Top">
<u:Form.ItemsPanel>
<ItemsPanelTemplate>
<Grid ColumnDefinitions="*" RowDefinitions="*" />
</ItemsPanelTemplate>
</u:Form.ItemsPanel>
<u:FormItem>
<Label Content="{Binding Message}"/>
</u:FormItem>
</u:Form>
</UserControl>