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.
26 lines
460 B
26 lines
460 B
namespace ShoopNCook.Views;
|
|
using Microsoft.Maui.Graphics;
|
|
|
|
public partial class HeadedButton : ContentView
|
|
{
|
|
|
|
public string Text
|
|
{
|
|
set => BtnLabel.Text = value;
|
|
}
|
|
|
|
public string HeadColor
|
|
{
|
|
set => PrefixBorder.BackgroundColor = Color.FromArgb(value);
|
|
}
|
|
|
|
public string HeadSource
|
|
{
|
|
set => PrefixImage.Source = ImageSource.FromFile(value);
|
|
}
|
|
|
|
public HeadedButton()
|
|
{
|
|
InitializeComponent();
|
|
}
|
|
} |