1
在MonoTouch中,我尝试设置边框颜色,但由于其保护级别而无法访问BorderColor,因此无法更改。UITextView - 设置边框颜色
public class BorderedUITextView:UITextView
{
public BorderedUITextView (RectangleF Frame):base(Frame)
{
this.Layer.BorderColor (UIColor.Black); ????????????
this.Layer.BorderWidth = 1.3f;
this.Layer.CornerRadius = 15f;
this.ClipsToBounds = true;
}
}
有什么问题? –
“边框颜色设置如何” - 在下面回答 –