コード例 #1
0
 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);
     }
 }
コード例 #2
0
 public static void GetConstraintsLayout(ChallengeCollectionViewCell cell)
 {
     //CellWidthConstant = cell.CellWidth.Constant;
     DidGetConstraintsLayout = true;
 }