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.
LivreLand/LivreLand/View/ContentViews/LetterVerticalMenuView.xaml.cs

24 lines
770 B

using CommunityToolkit.Maui.Views;
namespace LivreLand.View.ContentViews;
public partial class LetterVerticalMenuView : ContentView
{
public static readonly BindableProperty ButtonLetterProperty = BindableProperty.Create(nameof(ButtonLetter), typeof(string), typeof(LetterVerticalMenuView), string.Empty);
public string ButtonLetter
{
get => (string)GetValue(LetterVerticalMenuView.ButtonLetterProperty);
set => SetValue(LetterVerticalMenuView.ButtonLetterProperty, value);
}
public LetterVerticalMenuView()
{
InitializeComponent();
}
public void OnLetterTapped(object sender, TappedEventArgs e)
{
var plusPopup = new PopupLetterView(letterText.Text);
App.Current.MainPage.ShowPopup(plusPopup);
}
}