<?xml version="1.0" encoding="UTF-8" ?>
<ContentPage
    xmlns="http://xamarin.com/schemas/2014/forms"
    xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
    xmlns:viewmodel="clr-namespace:XamarinDemoApp.ViewModels"
    x:DataType="viewmodel:DetailsViewModel"
    x:Class="XamarinDemoApp.Views.DetailsPage">
    <StackLayout Orientation="Vertical" Margin="0,60,0,0" Spacing="60">
        <Label Text="Welcome to Details Page" FontSize="26" FontAttributes="Bold"
               HorizontalOptions="CenterAndExpand" HorizontalTextAlignment="Center"/>
        <StackLayout Orientation="Horizontal" HorizontalOptions="CenterAndExpand">
            <Label Text="Your login ID is: " FontSize="18"/>
            <Label Text="{Binding LoginId}" FontSize="18" FontAttributes="Bold" />

        </StackLayout>

         <Button HeightRequest="40" x:Name="LoginButton" Command="{Binding DetachIdentityCommand}"
                 Margin="40,0,40,10" FontSize="16" TextColor="White" Text="Detach Identity" />

    </StackLayout>
</ContentPage>

