예제 #1
0
        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));
 }