public ButtonElement(string caption) : base(caption) { DataBinding = new ElementDataBinding(this); }
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); }