public DropDownFormCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.ddForm = ((DropDownFormCellModel)this.Model).ddForm; this.AddButton(new GridCellComboBoxButton(this)); }
public PivotButtonCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { AddButton(pushButton = new GridCellButton(this)); //AddButton(pushButton = new GridDataBoundTreeCellButton(this)); this.ForceRefreshOnActivateCell = true; }
public PictureBoxCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { cm = (PictureBoxCellModel)cellModel; SupportsFocusControl = false; FixControlParent(drawPictureBox); }
public TreeCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { _indentSize = 20; bitmapWidth = 20; bitmapHeight = 17; }
public DropDownGridCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.DisableTextBox = true; DropDownButton = new GridCellComboBoxButton(this); this.grid = null; }
/// <summary> /// Initializes a new <see cref="GridCellRendererBase"/> object for the given GridControlBase /// and <see cref="GridCellModelBase"/>. /// </summary> /// <param name="grid">The <see cref="GridControlBase"/> that display this cell renderer.</param> /// <param name="cellModel">The <see cref="GridCellModelBase"/> that holds data for this cell renderer that should /// be shared among views.</param> /// <remarks>References to GridControlBase, /// and GridCellModelBase will be saved.</remarks> public GridDataBoundTreeCellRenderer(GridControlBase grid, GridCellModelBase cellModel, TreeGridHelper helper) : base(grid, cellModel) { AddButton(new GridDataBoundTreeCellButton(this, helper)); lineColor = Color.Black; this.treeHelper = helper; }
public едакторЯчеек_РедакторИзображения_Renderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.drawредакторИзображения = new Изображение(); this.editредакторИзображения = new Изображение(); this.editредакторИзображения.EditValueChanged += new EventHandler(this.editредакторИзображения_EditValueChanged); base.SupportsFocusControl = true; base.FixControlParent(this.drawредакторИзображения); base.SetControl(this.editредакторИзображения); }
public едакторЯчеек_МногострочныйРедактор_Renderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.drawПолеМногострРедактора = new ВыпадающийТекст(); this.editПолеМногострРедактора = new ВыпадающийТекст(); this.editПолеМногострРедактора.EditValueChanged += new EventHandler(this.editПолеМногострРедактора_EditValueChanged); base.SupportsFocusControl = true; base.FixControlParent(this.drawПолеМногострРедактора); base.SetControl(this.editПолеМногострРедактора); }
public едакторЯчеек_РедакторВремени_Renderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.drawРедакторВремени = new TimeEdit(); this.editРедакторВремени = new TimeEdit(); this.editРедакторВремени.EditValueChanged += new EventHandler(this.editПолеВыбораДаты_EditValueChanged); base.SupportsFocusControl = true; base.FixControlParent(this.drawРедакторВремени); base.SetControl(this.editРедакторВремени); }
public едакторЯчеек_ТекстСМаской_Renderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.drawРедакторСМаской = new ПолеВводаТекста(); this.editРедакторСМаской = new ПолеВводаТекста(); this.editРедакторСМаской.EditValueChanged += new EventHandler(this.editТекстСМаской_EditValueChanged); base.SupportsFocusControl = true; base.FixControlParent(this.drawРедакторСМаской); base.SetControl(this.editРедакторСМаской); }
public TreeCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { _indentSize = 20; bitmapWidth = 20; bitmapHeight = 17; nodeList = new Hashtable(); nodeList.Add(this.Grid.Model[1, 3].Text, "Added"); }
public едакторЯчеек_ВыборДаты_Renderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.drawПолеВыбораДаты = new ПолеВыбораДаты(); this.editПолеВыбораДаты = new ПолеВыбораДаты(); this.drawПолеВыбораДаты.НазначитьКнопки(); this.editПолеВыбораДаты.EditValueChanged += new EventHandler(this.editПолеВыбораДаты_EditValueChanged); this.editПолеВыбораДаты.НазначитьКнопки(); base.SupportsFocusControl = true; base.FixControlParent(this.drawПолеВыбораДаты); base.SetControl(this.editПолеВыбораДаты); }
public SliderCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { cm = (SliderCellModel)cellModel; SupportsFocusControl = true; FixControlParent(drawSlider); SetControl(editSlider); editSlider.AutoSize = false; editSlider.ValueChanged += new EventHandler(trackBar_ValueChanged); cm.trackBarControlSize = drawSlider.Size; }
public LinkLabelCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { _isMouseDown = false; _drawHotLink = false; _hotColor = Color.Red; _visitedColor = Color.Purple; _EXEname = "iexplore.exe"; }
public DragButtonCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { mybuttons = new CellDragButton[3]; for (int n = 0; n < 3; n++) { mybuttons[n] = new CellDragButton(this); AddButton(mybuttons[n]); } mybuttons[1].Interior = new BrushInfo(GradientStyle.PathEllipse, Color.FromArgb(0xde, 0x64, 0x13), Color.White); mybuttons[2].Interior = new BrushInfo(PatternStyle.SmallCheckerBoard, Color.FromArgb(255, 187, 111), Color.White); //.FromArgb( 0xff, 0xbf, 0x34 )); }
public DropDownUserCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.ddUser = ((DropDownUserCellModel)this.Model).ddUser; this.ddUser.Visible = false; DropDownPart = new GridDropDownCellImp(this); DropDownButton = new GridCellComboBoxButton(this); //hook the usercontrol save and cancel events... this.ddUser.UserControlSave += new EventHandler(user_Save); this.ddUser.UserControlCancel += new EventHandler(user_Cancel); }
public MultipleButtonCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { mybuttons = new MultipleButtonGridCell[2]; for (int n = 0; n < 2; n++) { mybuttons[n] = new MultipleButtonGridCell(this); AddButton(mybuttons[n]); } mybuttons[0].Interior = new BrushInfo(GradientStyle.PathEllipse, Color.Blue, Color.White); mybuttons[0].Text = "Button1"; mybuttons[1].Interior = new BrushInfo(GradientStyle.PathEllipse, Color.Blue, Color.White); mybuttons[1].Text = "Button2"; }
public DateTimeCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { dateTimePicker = new MyDateTimePicker(); dateTimePicker.Format = System.Windows.Forms.DateTimePickerFormat.Custom; dateTimePicker.ShowUpDown = false; dateTimePicker.ShowCheckBox = false; dateTimePicker.ShowDropButton = true; dateTimePicker.Border3DStyle = Border3DStyle.Flat; grid.Controls.Add(dateTimePicker); //show & hide to make sure it is initilized properly for teh first use... dateTimePicker.Show(); dateTimePicker.Hide(); Grid.HScrollBar.ValueChanged += new EventHandler(HScrollBar_ValueChanged); Grid.VScrollBar.ValueChanged += new EventHandler(VScrollBar_ValueChanged); }
public едакторЯчеек_ВыборИзСправочника_Renderer(GridControlBase grid, GridCellModelBase cellModel, ПараметрыСозданияРедактора_ВыборИзСправочника ПараметрыСозданияРедактора) : base(grid, cellModel) { this.параметрыСоздания = null; this.drawВыборИзСправочника = new ВыборИзСправочника(); this.editВыборИзСправочника = new ВыборИзСправочника(); this.параметрыСоздания = ПараметрыСозданияРедактора; this.drawВыборИзСправочника.ПоказыватьКнопкуРедактирования = false; this.drawВыборИзСправочника.НазначитьКнопки(); this.editВыборИзСправочника.ПоказыватьКнопкуРедактирования = false; this.editВыборИзСправочника.НазначитьКнопки(); if ((this.параметрыСоздания != null) && (this.параметрыСоздания.ОбработкаВыбораИзСправочника != null)) { this.editВыборИзСправочника.ПриПолученииИсточникаЗаписейДляВыбора += this.параметрыСоздания.ОбработкаВыбораИзСправочника; } base.SupportsFocusControl = true; base.FixControlParent(this.drawВыборИзСправочника); base.SetControl(this.editВыборИзСправочника); this.editВыборИзСправочника.ПриИзмененииВыбранногоЭлемента = (ОбработчикСобытия)Delegate.Combine(this.editВыборИзСправочника.ПриИзмененииВыбранногоЭлемента, new ОбработчикСобытия(this.выборИзСправочника_ИзменениеВыбранногоОбъекта)); }
public CustomCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { }
public GridInCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.SupportsFocusControl = true; }
public ImageCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { }
public LinkLabelCellRendererEx(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { }
public GridComboBoxCellRendererEx(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { SupportsFocusControl = false; }
public GridChartCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { chartControl = new GridChartControl(this); }
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; }
public CustomControlCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { cm = (CustomControlCellModel)cellModel; SupportsFocusControl = true; }
/// <summary> /// Initializes a new <see cref="OutlookHeaderCellRenderer"/> object. /// </summary> /// <param name="grid">Instance of gridcontrolbase.</param> /// <param name="cellModel">The cellmodel of this renderer.</param> public OutlookHeaderCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { this.gridBase = grid; AddButton(pushButton = new GridCellButton(this)); }
public DropDownCalculatorTextBoxCellRenderer(GridControlBase grid, GridCellModelBase cellModel) : base(grid, cellModel) { DropDownPart = new GridDropDownCellImp(this); DropDownButton = new GridCellComboBoxButton(this); }