コード例 #1
0
 public static int GetDefaultHeightPixel(this ImageCellRenderer imageCell)
 {
     return(Forms.ConvertToScaledPixel(ThemeConstants.ImageCell.Resources.DefaultHeight));
 }
コード例 #2
0
 public static string GetImagePart(this ImageCellRenderer imageCell)
 {
     return(Device.Idiom == TargetIdiom.Watch ? ThemeConstants.GenItemClass.Parts.Watch.Icon : ThemeConstants.GenItemClass.Parts.Icon);
 }