public OpenFileDialogCellRenderer(GridControlBase grid, GridTextBoxCellModel cellModel) : base(grid, cellModel) { var btn = new GridCellComboBoxButton(this); AddButton(btn); _dialog = new OpenFileDialog(); }
public FolderBrowserCellRenderer(GridControlBase grid, GridTextBoxCellModel cellModel) : base(grid, cellModel) { AddButton(new BrowseButton(this)); //Initialize the folderBrowser1 object. this.folderBrowser1 = new System.Windows.Forms.OpenFileDialog(); }
/// <summary> /// Initializes a new <see cref="GridTextBoxCellRenderer"/> object for the given GridControlBase /// and <see cref="GridTextBoxCellModel"/>. /// </summary> /// <param name="grid">The <see cref="GridControlBase"/> that display this cell renderer.</param> /// <param name="cellModel">The <see cref="GridTextBoxCellModel"/> that holds data for this cell renderer that should /// be shared among views.</param> /// <remarks>References to GridControlBase, /// and GridTextBoxCellModel will be saved.</remarks> public EllipsisCellRenderer(GridControlBase grid, GridTextBoxCellModel cellModel) : base(grid, cellModel) { AddButton(new EllipsisCellButton(this)); }
/// <summary> /// Initializes a new <see cref="ButtonEditCellRenderer"/> object for the given GridControlBase /// and <see cref="ButtonEditCellModel"/>. /// </summary> /// <param name="grid">The <see cref="GridControlBase"/> that display this cell renderer.</param> /// <param name="cellModel">The <see cref="ButtonEditCellModel"/> that holds data for this cell renderer that should /// be shared among views.</param> /// <remarks>References to GridControlBase, /// and GridTextBoxCellModel will be saved.</remarks> public ButtonEditCellRenderer(GridControlBase grid, GridTextBoxCellModel cellModel) : base(grid, cellModel) { AddButton(new ButtonEditCellButton(this)); }