<?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:d="http://xamarin.com/schemas/2014/forms/design"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:local="clr-namespace:FormApp2"
             mc:Ignorable="d"
             x:Class="FormApp2.MainPage">
    <ContentPage.BindingContext>
        <local:ConnectionListViewModel/>
    </ContentPage.BindingContext>

    <ContentPage.Content>
        <StackLayout  Margin = "20,20,20,20">
            <StackLayout VerticalOptions="FillAndExpand" HorizontalOptions="Fill">
                <Label Text="OPC UA server's endpoint URL:" FontSize="Medium" TextColor="#0066ff" FontAttributes="Bold"/>
                <Entry x:Name="EntryUrl" Placeholder="Write your EndpointUrl here" Text="{Binding ConnectionName}"/>
                <ListView x:Name="ContactsList" ItemsSource="{Binding Connections}" >
                </ListView>
            </StackLayout>
        </StackLayout>
    </ContentPage.Content>
</ContentPage>
