Files
Ursa.Avalonia/demo/Ursa.Demo/Pages/VerificationCodeDemo.axaml
2024-03-09 16:00:51 +08:00

14 lines
694 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"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Ursa.Demo.Pages.VerificationCodeDemo">
<StackPanel>
<u:VerificationCode CountOfDigit="4" Name="v4"/>
<ListBox ItemsSource="{Binding #v4.Digits}"></ListBox>
<u:VerificationCode CountOfDigit="6" PasswordChar="*" />
</StackPanel>
</UserControl>