public GridCellColorRenderer(Syncfusion.Windows.Forms.Grid.GridControlBase grid, GridCellModelBase cellModel)
            : base(grid, cellModel)
        {
            TextBox.Visible = false;

            DropDownPart.InitFocusEditPart = false;
            DropDownPart.IgnoreFocus       = true;

            DropDownContainer.BorderStyle = BorderStyle.None;
        }
示例#2
0
 public MyHeaderCellRenderer(Syncfusion.Windows.Forms.Grid.GridControlBase grid, Syncfusion.Windows.Forms.Grid.GridCellModelBase cellModel)
     : base(grid, cellModel)
 {
     this.AddButton(new MyCellButton(this));
 }
示例#3
0
 public override Syncfusion.Windows.Forms.Grid.GridCellRendererBase CreateRenderer(Syncfusion.Windows.Forms.Grid.GridControlBase control)
 {
     return(new MyHeaderCellRenderer(control, this));
 }