Files
Ursa.Avalonia/demo/Ursa.Demo/Pages/PopConfirmDemo.axaml
2025-04-18 02:08:12 +08:00

20 lines
968 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:viewModels="clr-namespace:Ursa.Demo.ViewModels"
mc:Ignorable="d" d:DesignWidth="800"
d:DesignHeight="450"
x:DataType="viewModels:PopConfirmDemoViewModel"
x:Class="Ursa.Demo.Pages.PopConfirmDemo">
<StackPanel HorizontalAlignment="Left">
<u:PopConfirm PopupHeader="Header" PopupContent="Content"
ConfirmCommand="{Binding Path=ConfirmCommand}"
CancelCommand="{Binding Path=CancelCommand}"
>
<Button Content="Hello World"></Button>
</u:PopConfirm>
</StackPanel>
</UserControl>