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;
}
}
有什麼問題? –
「邊框顏色設置如何」 - 在下面回答 –