/// <summary> /// Constructs a new BoundTextView control. /// </summary> public BoundTextView() { this.Build(); log = LogManager.GetLogger(GetType().Name); bcd = new BoundControlDelegate(this); bcd.ContextChanged += ContextChangeHandler; WrapMode = Gtk.WrapMode.Word; }
/// <summary> /// Constructs a new BoundCalendar object. /// </summary> public BoundCalendar() { this.Build(); // Instantiate the data binding delegate. bcd = new BoundControlDelegate(this); // Connect a handler to the context change event of the delegate. bcd.ContextChanged += ContextChangeHandler; }
/// <summary> /// Constructs a new BoundComboBox. /// </summary> public BoundComboBox() { this.Build(); bcd = new BoundControlDelegate(this); bcd.ContextChanged += ContextChangeHandler; // Set up the list store for the combo box. listStore = new ListStore(GLib.GType.String, GLib.GType.Int64); cbBound.Model = listStore; }
/// <summary> /// Constructs a new BoundEntry control. /// </summary> public BoundEntry() { this.Build(); bcd = new BoundControlDelegate(this); bcd.ContextChanged += ContextChangeHandler; }