private void layoutGradient() { //Console.WriteLine("Hitted"); var gradientLayer = CustomControls.ButtonBackground(this); Layer.InsertSublayer(gradientLayer, 0); }
private void layoutGradient() { var gradientLayer = CustomControls.ButtonBackground(this); BackgroundColor = UIColor.Clear; Layer.InsertSublayer(gradientLayer, 1); }
public override void ViewDidLoad() { base.ViewDidLoad(); var gradient = CustomControls.ButtonBackground(profileLabelView); profileLabelView.Layer.InsertSublayer(gradient, 0); profileLabel.Text = "Profile"; }
public override void ViewDidLoad() { base.ViewDidLoad(); var gradient = CustomControls.ButtonBackground(gradientView); gradientView.Layer.InsertSublayer(gradient, 0); aboutLabel.Text = "About Us"; }
public override void ViewDidLoad() { base.ViewDidLoad(); messageTextView.Layer.BorderColor = UIColor.Gray.CGColor; var gradient = CustomControls.ButtonBackground(reccommendationView); reccommendationView.Layer.InsertSublayer(gradient, 0); reccomendationLabel.Text = "Reccomandations"; messageTextView.Layer.BorderColor = UIColor.Black.CGColor; messageTextView.Layer.BorderWidth = 0.5F; }
public override void ViewDidLoad() { base.ViewDidLoad(); var gradient = CustomControls.ButtonBackground(homeHeading); homeHeading.Layer.InsertSublayer(gradient, 0); homeHeadingLabel.Text = "Now ->"; var tableItems = new List <AvatarDetails>() { new AvatarDetails { AvatarCompany = "*****@*****.**", AvatarName = "Kumar D" }, new AvatarDetails { AvatarCompany = "*****@*****.**", AvatarName = "Vivek S" } }; homeTableView.Source = new TableSource(tableItems); }