about summary refs log tree commit diff
path: root/MatrixRoomUtils.Desktop/LoginWindow.axaml
blob: a4600d55e8edda8f70fe3e9be613c26c1a555186 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Window 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:desktop="clr-namespace:MatrixRoomUtils.Desktop"
        mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
        x:Class="MatrixRoomUtils.Desktop.LoginWindow"
        Title="LoginWindow"
        x:DataType="desktop:LoginWindow"
        DataContext="{Binding $self}"
        >
    <StackPanel>
        <TextBox Text="{Binding Username, Mode=TwoWay}" />
        <MaskedTextBox PasswordChar="*" Text="{Binding Password, Mode=TwoWay}" />
        <Button Click="Login">Login</Button>
    </StackPanel>
</Window>