コード例 #1
0
		public ButtonElement(string caption) : base(caption)
		{
			DataBinding = new ElementDataBinding(this);
		}
コード例 #2
0
ファイル: Element.cs プロジェクト: eiu165/MonoMobile.Views
		public Element(string caption) : base()
		{
			Id = new NSString(GetType().FullName);
			Caption = caption;
			ShowCaption = !string.IsNullOrEmpty(Caption);
			Theme.CellStyle = UITableViewCellStyle.Default;
			ViewBinding = new ViewBinding();
			Visible = true;
			Enabled = true;
			EditingStyle = UITableViewCellEditingStyle.None;
			
			DataBinding = new ElementDataBinding(this);
		}