<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:vm="clr-namespace:FastBill.ViewModels"
             x:DataType="vm:SettingsViewModel"
             mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
             x:Class="FastBill.Views.SettingsView">
    <Design.DataContext>
        <vm:SettingsViewModel></vm:SettingsViewModel>
    </Design.DataContext>
    <StackPanel>
        <StackPanel>
            <TextBlock Margin="0 5" >UserName</TextBlock>
            <TextBox Text="{Binding Settings.EMail}" IsReadOnly="False"></TextBox>
        </StackPanel>
        <StackPanel>
            <TextBlock Margin="0 5" >AppKey</TextBlock>
            <TextBox Text="{Binding Settings.ApiKey}" IsReadOnly="False"></TextBox>
        </StackPanel>
        <Button Margin="0 5" Content="Save Settings" Command="{Binding SaveSettings}"></Button>
    </StackPanel>
</UserControl>
