DataGridViewComboBoxEditingControl::ApplyCellStyleToEditingControl Method (DataGridViewCellStyle^)

 

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
virtual void ApplyCellStyleToEditingControl(
	DataGridViewCellStyle^ dataGridViewCellStyle
)

Parameters

dataGridViewCellStyle
Type: System.Windows.Forms::DataGridViewCellStyle^

The DataGridViewCellStyle to use as a pattern for the UI.

The Font, BackColor, and ForeColor properties of the control align with the corresponding properties of the dataGridViewCellStyle parameter value.

.NET Framework
Available since 2.0
Return to top
Show: