public override void AwakeFromNib() { base.AwakeFromNib(); btnSnapAPhoto.Layer.CornerRadius = 4; btnSnapAPhoto.Layer.MasksToBounds = true; }