DataGridViewTextBoxEditingControl.ApplyCellStyleToEditingControl 方法

定义

更改控件的用户界面 (UI),使之与指定单元格样式一致。

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)

参数

dataGridViewCellStyle
DataGridViewCellStyle

用作用户界面模型的 DataGridViewCellStyle

实现

适用于

另请参阅