mirror of
https://gitlab.com/fabinfra/fabaccess/borepin.git
synced 2025-04-20 18:36:31 +02:00
24 lines
1.3 KiB
XML
24 lines
1.3 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
|
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
|
x:Class="Borepin.Page.ServerPage"
|
|
xmlns:converters="clr-namespace:Borepin.Converter">
|
|
<ContentPage.Resources>
|
|
<ResourceDictionary>
|
|
<converters:InvertBoolConverter x:Key="InvertBoolConverter"/>
|
|
</ResourceDictionary>
|
|
</ContentPage.Resources>
|
|
<ContentPage.Content>
|
|
<StackLayout Padding="20">
|
|
<StackLayout IsVisible="{Binding IsBusy}">
|
|
<ActivityIndicator IsRunning="{Binding IsBusy}"></ActivityIndicator>
|
|
</StackLayout>
|
|
<StackLayout IsVisible="{Binding IsBusy, Converter={StaticResource InvertBoolConverter}}">
|
|
<Label Text="{Binding Connection_Item.Address}"/>
|
|
<Button IsVisible="{Binding IsConnected, Converter={StaticResource InvertBoolConverter}}" Text="Connect" Command="{Binding ConnectCommand}"/>
|
|
<Button IsVisible="{Binding IsConnected}" Text="Disconnect" Command="{Binding ConnectCommand}"/>
|
|
<Button Text="Delete" Command="{Binding DeleteCommand}"/>
|
|
</StackLayout>
|
|
</StackLayout>
|
|
</ContentPage.Content>
|
|
</ContentPage> |