Here are the examples of the csharp api class System.Windows.Forms.DataGridViewButtonCell.Clone() taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
0
1. Example
View licensepublic override object Clone() { KryptonDataGridViewButtonCell dataGridViewCell = base.Clone() as KryptonDataGridViewButtonCell; if (dataGridViewCell != null) { dataGridViewCell._styleSet = _styleSet; dataGridViewCell._shortTextValue = _shortTextValue; dataGridViewCell._buttonStyle = _buttonStyle; } return dataGridViewCell; }
0
2. Example
View licensepublic override object Clone() { DataGridViewDisableButtonCell cell = (DataGridViewDisableButtonCell)base.Clone(); cell.Enabled = this.Enabled; return cell; }
0
3. Example
View licensepublic override object Clone() { DataGridViewInvisibleButtonCell cell = (DataGridViewInvisibleButtonCell)base.Clone(); cell.IsVisible = this.IsVisible; return cell; }