Пример #1
0
 public XPlatViewStyle(XPlatColor backgroundColor = null, XPlatCornerRadius cornerRadius = null, XPlatColor borderColor = null)
 {
     BackgroundColor = backgroundColor;
     CornerRadius    = cornerRadius;
     BorderColor     = borderColor;
 }
Пример #2
0
 public XPlatButtonStyle(XPlatLabelStyle labelStyle = null, XPlatColor backgroundColor = null, XPlatCornerRadius cornerRadius = null, XPlatColor borderColor = null)
     : this(labelStyle, cornerRadius, borderColor)
 {
     BackgroundColor = backgroundColor;
 }
Пример #3
0
 public XPlatButtonStyle(XPlatLabelStyle labelStyle = null, XPlatCornerRadius cornerRadius = null, XPlatColor borderColor = null)
     : base(labelStyle)
 {
     CornerRadius = cornerRadius;
     BorderColor  = borderColor;
 }
Пример #4
0
 public XPlatCornerRadius(XPlatCornerRadius cornerRadius)
     : this(cornerRadius.Radius, cornerRadius.BottomLeft, cornerRadius.BottomRight, cornerRadius.TopLeft, cornerRadius.TopRight)
 {
 }