Last active
December 30, 2019 12:05
-
-
Save icebeam7/39d98061ac90e3fc8cedbb81ddf2bd2c to your computer and use it in GitHub Desktop.
eliteKit: ProductView.xaml.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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