DataGridViewCellStyle Конструкторы

Определение

Инициализирует новый экземпляр класса DataGridViewCellStyle.

Перегрузки

DataGridViewCellStyle()

Инициализирует новый экземпляр класса DataGridViewCellStyle, используя значения свойства по умолчанию.

DataGridViewCellStyle(DataGridViewCellStyle)

Инициализирует новый экземпляр класса DataGridViewCellStyle, используя значения свойств указанного стиля DataGridViewCellStyle.

DataGridViewCellStyle()

Инициализирует новый экземпляр класса DataGridViewCellStyle, используя значения свойства по умолчанию.

public:
 DataGridViewCellStyle();
public DataGridViewCellStyle ();
Public Sub New ()

См. также раздел

Применяется к

DataGridViewCellStyle(DataGridViewCellStyle)

Инициализирует новый экземпляр класса DataGridViewCellStyle, используя значения свойств указанного стиля DataGridViewCellStyle.

public:
 DataGridViewCellStyle(System::Windows::Forms::DataGridViewCellStyle ^ dataGridViewCellStyle);
public DataGridViewCellStyle (System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle);
new System.Windows.Forms.DataGridViewCellStyle : System.Windows.Forms.DataGridViewCellStyle -> System.Windows.Forms.DataGridViewCellStyle
Public Sub New (dataGridViewCellStyle As DataGridViewCellStyle)

Параметры

dataGridViewCellStyle
DataGridViewCellStyle

Объект DataGridViewCellStyle, используемый в качестве шаблона для предоставления исходных значений свойств.

Исключения

dataGridViewCellStyle имеет значение null.

См. также раздел

Применяется к