<UserControl x:Class="TeamViewerApi.Views.TokenView" 
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:viewModels="clr-namespace:TeamViewerApi.ViewModels" 
             mc:Ignorable="d" 
             d:DesignHeight="30" d:DesignWidth="500">
    <UserControl.DataContext>
        <viewModels:TokenViewModel />
    </UserControl.DataContext>
    <DockPanel LastChildFill="False">
        <TextBlock DockPanel.Dock="Left" Text="Token" />
        <TextBox DockPanel.Dock="Left" Width="250px" Text="{Binding Token, Mode=TwoWay}" />
        <TextBlock Padding="10,3">
            <Hyperlink Command="{Binding PingCommand, Mode=OneWay}">   Ping   </Hyperlink>
        </TextBlock>
        <TextBlock DockPanel.Dock="Left" Text="{Binding Status, Mode=OneWay, StringFormat='Status: {0}', FallbackValue='Status: Unknown'}" />
    </DockPanel>
</UserControl>
