33 lines
1.1 KiB
XML
33 lines
1.1 KiB
XML
<UserControl
|
|
x:Class="Bitvault.Avalonia.OpenLockerView"
|
|
xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:vm="using:Bitvault"
|
|
x:DataType="vm:OpenLockerViewModel">
|
|
<StackPanel
|
|
HorizontalAlignment="Center"
|
|
VerticalAlignment="Center"
|
|
Spacing="12">
|
|
<PersonPicture
|
|
Width="144"
|
|
Height="144"
|
|
Margin="0,-144,0,0"
|
|
DisplayName="{Binding Name}" />
|
|
<TextBlock
|
|
Text="{Binding Name}"
|
|
TextAlignment="Center"
|
|
Theme="{DynamicResource SubtitleTextBlockStyle}" />
|
|
<TextBox
|
|
Width="360"
|
|
Classes="revealPasswordButton"
|
|
PasswordChar="●"
|
|
Text="{Binding Password}">
|
|
<Interaction.Behaviors>
|
|
<KeyBindingTriggerBehaviour Gesture="Enter">
|
|
<InvokeCommandAction Command="{Binding InvokeCommand}" />
|
|
</KeyBindingTriggerBehaviour>
|
|
</Interaction.Behaviors>
|
|
</TextBox>
|
|
</StackPanel>
|
|
</UserControl>
|