public void ApplyStyle() { Layer.CornerRadius = 2.0f; //Layer.BorderWidth = 1.0f; //Layer.MasksToBounds = true; //ContentView.Layer.BorderColor = UIColor.Clear.CGColor; if (!ChallengeCollectionViewCell.DidGetConstraintsLayout) { ChallengeCollectionViewCell.GetConstraintsLayout(this); } }