Applies the specified System.Windows.Forms.DataGridViewCellStyle to the current System.Windows.Forms.DataGridViewCellStyle.
- dataGridViewCellStyle
- The System.Windows.Forms.DataGridViewCellStyle to apply to the current System.Windows.Forms.DataGridViewCellStyle.
The DataGridViewCellStyle.ApplyStyle(DataGridViewCellStyle) method applies the values of the properties that are set in the dataGridViewCellStyle parameter to the current System.Windows.Forms.DataGridViewCellStyle. If a property is not set in dataGridViewCellStyle, the current System.Windows.Forms.DataGridViewCellStyle retains its value of that property.