Skip to content

Instantly share code, notes, and snippets.

@icebeam7
Last active December 30, 2019 12:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save icebeam7/39d98061ac90e3fc8cedbb81ddf2bd2c to your computer and use it in GitHub Desktop.
Save icebeam7/39d98061ac90e3fc8cedbb81ddf2bd2c to your computer and use it in GitHub Desktop.
eliteKit: ProductView.xaml.cs
using Xamarin.Forms;
using Xamarin.Forms.Xaml;
namespace DemoEliteKit.Views
{
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class ProductView : ContentPage
{
public ProductView()
{
InitializeComponent();
}
protected override void OnAppearing()
{
base.OnAppearing();
badge.BadgeView = new Image()
{
Source = ImageSource.FromResource("DemoEliteKit.Images.box.png"),
HeightRequest = 50,
WidthRequest = 50
};
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment