Skip to content

Instantly share code, notes, and snippets.

View dhindrik's full-sized avatar
😎
Writing code!

Daniel Hindrikes dhindrik

😎
Writing code!
View GitHub Profile
public class Button : PancakeView
{
public static BindableProperty CommandProperty = BindableProperty.Create(nameof(Command), typeof(ICommand), typeof(Button));
public static BindableProperty CommandParameterProperty = BindableProperty.Create(nameof(CommandParameter), typeof(object), typeof(Button));
public ICommand Command
{
get => (ICommand)GetValue(CommandProperty);
set => SetValue(CommandProperty, value);
}
#nullable enable
using System;
using System.Collections.Generic;
using Xamarin.Forms;
using Xamarin.Forms.Shapes;
namespace ShapeDemo.Controls
{
public class RatingControl : StackLayout
{