15 lines
938 B
XML
15 lines
938 B
XML
<UserControl x:Class="HandyControlDemo.UserControl.PinBoxDemo"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:hc="https://handyorg.github.io/handycontrol"
|
|
Background="{DynamicResource RegionBrush}">
|
|
<hc:TransitioningContentControl>
|
|
<hc:UniformSpacingPanel Spacing="16" Orientation="Vertical" Margin="32" VerticalAlignment="Center" hc:PinBox.Completed="PinBox_OnCompleted">
|
|
<hc:PinBox Length="4" Password="1234"/>
|
|
<hc:PinBox Length="4" Password="1234" Name="pinBoxDemo" IsSafeEnabled="False"/>
|
|
<TextBox Text="{Binding UnsafePassword,ElementName=pinBoxDemo,UpdateSourceTrigger=PropertyChanged}"/>
|
|
<hc:PinBox Length="6" Password="123456" PasswordChar="❤"/>
|
|
</hc:UniformSpacingPanel>
|
|
</hc:TransitioningContentControl>
|
|
</UserControl>
|