Ejemplo n.º 1
0
        /// <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;
        }
Ejemplo n.º 2
0
		/// <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;
		}
Ejemplo n.º 3
0
        /// <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;
        }
Ejemplo n.º 4
0
 /// <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);
 }
Ejemplo n.º 5
0
		/// <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);
		}
Ejemplo n.º 6
0
 /// <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;
 }