Last active
August 29, 2015 14:24
-
-
Save matsukurou/148d9624ca096e24cefe to your computer and use it in GitHub Desktop.
Xamarin.FormsでImageをカスタマイズする(共通プロジェクト)
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 System; | |
using Xamarin.Forms; | |
namespace CustomImage | |
{ | |
/// <summary> | |
/// Imageを継承したImageカスタム用のビュー | |
/// </summary> | |
public class CustomImage : Image | |
{ | |
/// <summary> | |
/// 画像に設定するカラーのプロパティ | |
/// </summary> | |
public Color ImageColor { get; set; } | |
public CustomImage() | |
{ | |
ImageColor = Color.Transparent; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment