Bewerken

Delen via


DataGridViewTextBoxEditingControl.ApplyCellStyleToEditingControl Method

Definition

Changes the control's user interface (UI) to be consistent with the specified cell style.

public:
 virtual void ApplyCellStyleToEditingControl(System::Windows::Forms::DataGridViewCellStyle ^ dataGridViewCellStyle);
public virtual void ApplyCellStyleToEditingControl (System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle);
abstract member ApplyCellStyleToEditingControl : System.Windows.Forms.DataGridViewCellStyle -> unit
override this.ApplyCellStyleToEditingControl : System.Windows.Forms.DataGridViewCellStyle -> unit
Public Overridable Sub ApplyCellStyleToEditingControl (dataGridViewCellStyle As DataGridViewCellStyle)

Parameters

dataGridViewCellStyle
DataGridViewCellStyle

The DataGridViewCellStyle to use as the model for the UI.

Implements

Applies to

See also