You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
572 B
27 lines
572 B
using Microsoft.Maui;
|
|
|
|
namespace Qwirkle.Views;
|
|
|
|
public partial class ButtonShadow : ContentView
|
|
{
|
|
public ButtonShadow()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
|
|
public static readonly BindableProperty TextProperty =
|
|
BindableProperty.Create("Text", typeof(string), typeof(Button), "none");
|
|
|
|
public string Text
|
|
{
|
|
get => (string)GetValue(TextProperty);
|
|
set => SetValue(TextProperty, value);
|
|
}
|
|
|
|
public event EventHandler InfoClicked;
|
|
|
|
void OnInfoClicked(object sender, EventArgs args)
|
|
{
|
|
InfoClicked?.Invoke(this, args);
|
|
}
|
|
} |