示例#1
0
 public XPlatButtonStyle(XPlatLabelStyle labelStyle = null, XPlatColor backgroundColor = null, XPlatCornerRadius cornerRadius = null, XPlatColor borderColor = null)
     : this(labelStyle, cornerRadius, borderColor)
 {
     BackgroundColor = backgroundColor;
 }
示例#2
0
 public XPlatButtonStyle(XPlatLabelStyle labelStyle = null, XPlatCornerRadius cornerRadius = null, XPlatColor borderColor = null)
     : base(labelStyle)
 {
     CornerRadius = cornerRadius;
     BorderColor  = borderColor;
 }
示例#3
0
 public XPlatLabelStyle(XPlatLabelStyle style, XPlatFont font = null, XPlatTextAlignType?textAlign = null)
     : this((XPlatStyle)style, font ?? style.Font, textAlign ?? style.TextAlign)
 {
 }