【发布时间】:2013-01-29 02:26:27
【问题描述】:
谁能解释我如何创建一个UIButton,它允许我使用本文中的 InputView / Accessory 属性(默认为只读),但在 MonoTouch 中使用 C#
http://nomtek.com/tips-for-developers/working-with-pickers/
我已经尝试了基础,它不会编译 -
public class CustomUIButton : UIButton
{
public CustomUIButton()
{
}
public CustomUIButton(RectangleF rect): base(rect)
{
}
public override UIView InputView
{
get
{
return base.InputView;
}
[ADDED] set { base.InputView = ""; }**
}
}
谢谢
【问题讨论】:
标签: c# ios xamarin.ios xamarin