共用方式為


RolePlayerComboCell Class

Definition

Class to allow overriding of Parse and Format functionality.

public ref class RolePlayerComboCell : System::Windows::Forms::DataGridViewComboBoxCell
public class RolePlayerComboCell : System.Windows.Forms.DataGridViewComboBoxCell
type RolePlayerComboCell = class
    inherit DataGridViewComboBoxCell
Public Class RolePlayerComboCell
Inherits DataGridViewComboBoxCell
Inheritance
RolePlayerComboCell

Remarks

This class must be public as it is created via reflection.

Constructors

RolePlayerComboCell()

Default constructor

Properties

ValueType

Force the value type of the cell to be the column's value type.

Methods

GetFormattedValue(Object, Int32, DataGridViewCellStyle, TypeConverter, TypeConverter, DataGridViewDataErrorContexts)

Format the value

InitializeEditingControl(Int32, Object, DataGridViewCellStyle)
OnDataGridViewChanged()

Handle data grid changes

OnLeave(Int32, Boolean)
ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter)

Parse the value

Applies to