/// <summary> /// Constructor /// </summary> /// <param name="cellValue"></param> public Cell(object cellValue) { Model = new SourceGrid.Cells.Models.ModelContainer(); Model.ValueModel = new Models.ValueModel(); Model.AddModel(new Models.ToolTip()); Model.AddModel(new Models.Image()); Value = cellValue; }
/// <summary> /// Constructor /// </summary> /// <param name="cellValue"></param> public Cell(object cellValue) { Model = new SourceGrid.Cells.Models.ModelContainer(); Model.ValueModel = new Models.ValueModel(); Model.AddModel(new Models.ToolTip()); Model.AddModel(new Models.Image()); Value = cellValue; }
/// <summary> /// Constructor /// </summary> /// <param name="cellValue"></param> public Cell(object cellValue) { Model = new SourceGrid.Cells.Models.ModelContainer(); Model.ValueModel = new Models.ValueModel(); Model.AddModel(new Models.ContextMenu()); Model.AddModel(new Models.ToolTip()); Model.AddModel(new Models.Image()); AddController(Controllers.ContextMenu.Default); AddController(Controllers.ToolTipText.Default); Value = cellValue; }
/// <summary> /// Constructor. Create a CellVirtual using a default NullValueModel. You must provide your custom ValueModel to bind the cell to a value. /// </summary> public CellVirtual() { View = Views.Cell.Default; Editor = null; Model = new SourceGrid.Cells.Models.ModelContainer(); Model.AddModel(Cells.Models.NullValueModel.Default); }
/// <summary> /// Constructor. Create a CellVirtual using a default NullValueModel. You must provide your custom ValueModel to bind the cell to a value. /// </summary> public CellVirtual() { View = Views.Cell.Default; Editor = null; Model = new SourceGrid.Cells.Models.ModelContainer(); Model.AddModel(Cells.Models.NullValueModel.Default); }
/// <summary> /// Constructor. Create a CellVirtual using a default NullValueModel. You must provide your custom ValueModel to bind the cell to a value. /// </summary> public CellVirtual() { View = Views.Cell.Default; Editor = null; Model = new SourceGrid.Cells.Models.ModelContainer(); Model.AddModel(Cells.Models.NullValueModel.Default); //[email protected] : Setting the clipboard mode ClipboardModes = ClipboardMode.All; }