the xaml edit is BACCKK BABY ! Welcome to data bidding, wait teacher for 2 question :
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
- where create game - when get back entrytest_old_branch
parent
bd7d748c7d
commit
c5027304b0
@ -1,12 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<ContentView xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
|
||||
x:Class="Qwirkle.Views.EntryPlayer">
|
||||
x:Class="Qwirkle.Views.EntryPlayer"
|
||||
x:Name="root">
|
||||
<VerticalStackLayout Padding="10">
|
||||
<Label
|
||||
Text="Players X"
|
||||
Text="{Binding TextOn, Source={x:Reference root}}"
|
||||
Style="{StaticResource ContentStart}"/>
|
||||
|
||||
<Entry Text="Entry tag of player X"/>
|
||||
<Entry Text="{Binding TextIn, Source={x:Reference root}}"/>
|
||||
</VerticalStackLayout>
|
||||
</ContentView>
|
||||
|
@ -1,9 +1,27 @@
|
||||
namespace Qwirkle.Views;
|
||||
|
||||
using Microsoft.Maui.Controls;
|
||||
public partial class EntryPlayer : ContentView
|
||||
{
|
||||
public EntryPlayer()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
|
||||
public static readonly BindableProperty TextInProperty =
|
||||
BindableProperty.Create("TextIn", typeof(string), typeof(Button), "none");
|
||||
|
||||
public string TextIn
|
||||
{
|
||||
get => (string)GetValue(TextInProperty);
|
||||
set => SetValue(TextInProperty, value);
|
||||
}
|
||||
|
||||
public static readonly BindableProperty TextOnProperty =
|
||||
BindableProperty.Create("TextOn", typeof(string), typeof(Button), "none");
|
||||
|
||||
public string TextOn
|
||||
{
|
||||
get => (string)GetValue(TextOnProperty);
|
||||
set => SetValue(TextOnProperty, value);
|
||||
}
|
||||
}
|
Loading…
Reference in new issue