/// <summary> /// Converts the given image into a ninepatch image. /// </summary> /// <returns>The nine patch.</returns> /// <param name="image">Image.</param> public static UIImage AsNinePatch(this UIImage image) { return(NinePatchImageFactory.CreateResizableNinePatchImage(image)); }
// Overridden from UIButton public override void SetImage(UIImage image, UIControlState state) { base.SetImage(NinePatchImageFactory.CreateResizableNinePatchImage(image), state); }