RolePlayerComboCell Class
Class to allow overriding of Parse and Format functionality.
Inheritance Hierarchy
System.Object
System.Windows.Forms.DataGridViewElement
System.Windows.Forms.DataGridViewCell
System.Windows.Forms.DataGridViewComboBoxCell
Microsoft.VisualStudio.Modeling.Design.RolePlayerComboCell
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
‘선언
Public Class RolePlayerComboCell _
Inherits DataGridViewComboBoxCell
public class RolePlayerComboCell : DataGridViewComboBoxCell
public ref class RolePlayerComboCell : public DataGridViewComboBoxCell
type RolePlayerComboCell =
class
inherit DataGridViewComboBoxCell
end
public class RolePlayerComboCell extends DataGridViewComboBoxCell
The RolePlayerComboCell type exposes the following members.
Constructors
Name | Description | |
---|---|---|
RolePlayerComboCell | Default constructor |
Top
Properties
Name | Description | |
---|---|---|
AccessibilityObject | Gets the DataGridViewCell.DataGridViewCellAccessibleObject assigned to the DataGridViewCell. (Inherited from DataGridViewCell.) | |
AutoComplete | Gets or sets a value indicating whether the cell will match the characters being entered in the cell with a selection from the drop-down list. (Inherited from DataGridViewComboBoxCell.) | |
ColumnIndex | Gets the column index for this cell. (Inherited from DataGridViewCell.) | |
ContentBounds | Gets the bounding rectangle that encloses the cell's content area. (Inherited from DataGridViewCell.) | |
ContextMenuStrip | Gets or sets the shortcut menu associated with the cell. (Inherited from DataGridViewCell.) | |
DataGridView | Gets the DataGridView control associated with this element. (Inherited from DataGridViewElement.) | |
DataSource | Gets or sets the data source whose data contains the possible selections shown in the drop-down list. (Inherited from DataGridViewComboBoxCell.) | |
DefaultNewRowValue | Gets the default value for a cell in the row for new records. (Inherited from DataGridViewCell.) | |
Displayed | Gets a value that indicates whether the cell is currently displayed on-screen. (Inherited from DataGridViewCell.) | |
DisplayMember | Gets or sets a string that specifies where to gather selections to display in the drop-down list. (Inherited from DataGridViewComboBoxCell.) | |
DisplayStyle | Gets or sets a value that determines how the combo box is displayed when it is not in edit mode. (Inherited from DataGridViewComboBoxCell.) | |
DisplayStyleForCurrentCellOnly | Gets or sets a value indicating whether the DisplayStyle property value applies to the cell only when it is the current cell in the DataGridView control. (Inherited from DataGridViewComboBoxCell.) | |
DropDownWidth | Gets or sets the width of the of the drop-down list portion of a combo box. (Inherited from DataGridViewComboBoxCell.) | |
EditedFormattedValue | Gets the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed. (Inherited from DataGridViewCell.) | |
EditType | Gets the type of the cell's hosted editing control. (Inherited from DataGridViewComboBoxCell.) | |
ErrorIconBounds | Gets the bounds of the error icon for the cell. (Inherited from DataGridViewCell.) | |
ErrorText | Gets or sets the text describing an error condition associated with the cell. (Inherited from DataGridViewCell.) | |
FlatStyle | Gets or sets the flat style appearance of the cell. (Inherited from DataGridViewComboBoxCell.) | |
FormattedValue | Gets the value of the cell as formatted for display. (Inherited from DataGridViewCell.) | |
FormattedValueType | Gets the class type of the formatted value associated with the cell. (Inherited from DataGridViewComboBoxCell.) | |
Frozen | Gets a value indicating whether the cell is frozen. (Inherited from DataGridViewCell.) | |
HasStyle | Gets a value indicating whether the Style property has been set. (Inherited from DataGridViewCell.) | |
InheritedState | Gets the current state of the cell as inherited from the state of its row and column. (Inherited from DataGridViewCell.) | |
InheritedStyle | Gets the style currently applied to the cell. (Inherited from DataGridViewCell.) | |
IsInEditMode | Gets a value indicating whether this cell is currently being edited. (Inherited from DataGridViewCell.) | |
Items | Gets the objects that represent the selection displayed in the drop-down list. (Inherited from DataGridViewComboBoxCell.) | |
MaxDropDownItems | Gets or sets the maximum number of items shown in the drop-down list. (Inherited from DataGridViewComboBoxCell.) | |
OwningColumn | Gets the column that contains this cell. (Inherited from DataGridViewCell.) | |
OwningRow | Gets the row that contains this cell. (Inherited from DataGridViewCell.) | |
PreferredSize | Gets the size, in pixels, of a rectangular area into which the cell can fit. (Inherited from DataGridViewCell.) | |
ReadOnly | Gets or sets a value indicating whether the cell's data can be edited. (Inherited from DataGridViewCell.) | |
Resizable | Gets a value indicating whether the cell can be resized. (Inherited from DataGridViewCell.) | |
RowIndex | Gets the index of the cell's parent row. (Inherited from DataGridViewCell.) | |
Selected | Gets or sets a value indicating whether the cell has been selected. (Inherited from DataGridViewCell.) | |
Size | Gets the size of the cell. (Inherited from DataGridViewCell.) | |
Sorted | Gets or sets a value indicating whether the items in the combo box are automatically sorted. (Inherited from DataGridViewComboBoxCell.) | |
State | Gets the user interface (UI) state of the element. (Inherited from DataGridViewElement.) | |
Style | Gets or sets the style for the cell. (Inherited from DataGridViewCell.) | |
Tag | Gets or sets the object that contains supplemental data about the cell. (Inherited from DataGridViewCell.) | |
ToolTipText | Gets or sets the ToolTip text associated with this cell. (Inherited from DataGridViewCell.) | |
Value | Gets or sets the value associated with this cell. (Inherited from DataGridViewCell.) | |
ValueMember | Gets or sets a string that specifies where to gather the underlying values used in the drop-down list. (Inherited from DataGridViewComboBoxCell.) | |
ValueType | Force the value type of the cell to be the column's value type. (Overrides DataGridViewComboBoxCell.ValueType.) | |
Visible | Gets a value indicating whether the cell is in a row or column that has been hidden. (Inherited from DataGridViewCell.) |
Top
Methods
Name | Description | |
---|---|---|
AdjustCellBorderStyle | Modifies the input cell border style according to the specified criteria. (Inherited from DataGridViewCell.) | |
BorderWidths | Returns a Rectangle that represents the widths of all the cell margins. (Inherited from DataGridViewCell.) | |
ClickUnsharesRow | Indicates whether the cell's row will be unshared when the cell is clicked. (Inherited from DataGridViewCell.) | |
Clone | Creates an exact copy of this cell. (Inherited from DataGridViewComboBoxCell.) | |
ContentClickUnsharesRow | Indicates whether the cell's row will be unshared when the cell's content is clicked. (Inherited from DataGridViewCell.) | |
ContentDoubleClickUnsharesRow | Indicates whether the cell's row will be unshared when the cell's content is double-clicked. (Inherited from DataGridViewCell.) | |
CreateAccessibilityInstance | Creates a new accessible object for the DataGridViewCell. (Inherited from DataGridViewCell.) | |
DetachEditingControl | Removes the cell's editing control from the DataGridView. (Inherited from DataGridViewComboBoxCell.) | |
Dispose() | Releases all resources used by the DataGridViewCell. (Inherited from DataGridViewCell.) | |
Dispose(Boolean) | Releases the unmanaged resources used by the DataGridViewCell and optionally releases the managed resources. (Inherited from DataGridViewCell.) | |
DoubleClickUnsharesRow | Indicates whether the cell's row will be unshared when the cell is double-clicked. (Inherited from DataGridViewCell.) | |
EnterUnsharesRow | Indicates whether the parent row will be unshared when the focus moves to the cell. (Inherited from DataGridViewCell.) | |
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Releases the unmanaged resources and performs other cleanup operations before the DataGridViewCell is reclaimed by garbage collection. (Inherited from DataGridViewCell.) | |
GetClipboardContent | Retrieves the formatted value of the cell to copy to the Clipboard. (Inherited from DataGridViewCell.) | |
GetContentBounds(Int32) | Returns the bounding rectangle that encloses the cell's content area using a default Graphics and cell style currently in effect for the cell. (Inherited from DataGridViewCell.) | |
GetContentBounds(Graphics, DataGridViewCellStyle, Int32) | Returns the bounding rectangle that encloses the cell's content area, which is calculated using the specified Graphics and cell style. (Inherited from DataGridViewComboBoxCell.) | |
GetEditedFormattedValue | Returns the current, formatted value of the cell, regardless of whether the cell is in edit mode and the value has not been committed. (Inherited from DataGridViewCell.) | |
GetErrorIconBounds | Returns the bounding rectangle that encloses the cell's error icon, if one is displayed. (Inherited from DataGridViewComboBoxCell.) | |
GetErrorText | Returns a string that represents the error for the cell. (Inherited from DataGridViewCell.) | |
GetFormattedValue | Format the value (Overrides DataGridViewComboBoxCell.GetFormattedValue(Object, Int32, DataGridViewCellStyle%, TypeConverter, TypeConverter, DataGridViewDataErrorContexts).) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetInheritedContextMenuStrip | Gets the inherited shortcut menu for the current cell. (Inherited from DataGridViewCell.) | |
GetInheritedState | Returns a value indicating the current state of the cell as inherited from the state of its row and column. (Inherited from DataGridViewCell.) | |
GetInheritedStyle | Gets the style applied to the cell. (Inherited from DataGridViewCell.) | |
GetPreferredSize | Calculates the preferred size, in pixels, of the cell. (Inherited from DataGridViewComboBoxCell.) | |
GetSize | Gets the size of the cell. (Inherited from DataGridViewCell.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue | Gets the value of the cell. (Inherited from DataGridViewCell.) | |
InitializeEditingControl | (Overrides DataGridViewComboBoxCell.InitializeEditingControl(Int32, Object, DataGridViewCellStyle).) | |
KeyDownUnsharesRow | Indicates whether the parent row is unshared if the user presses a key while the focus is on the cell. (Inherited from DataGridViewCell.) | |
KeyEntersEditMode | Determines if edit mode should be started based on the given key. (Inherited from DataGridViewComboBoxCell.) | |
KeyPressUnsharesRow | Indicates whether a row will be unshared if a key is pressed while a cell in the row has focus. (Inherited from DataGridViewCell.) | |
KeyUpUnsharesRow | Indicates whether the parent row is unshared when the user releases a key while the focus is on the cell. (Inherited from DataGridViewCell.) | |
LeaveUnsharesRow | Indicates whether a row will be unshared when the focus leaves a cell in the row. (Inherited from DataGridViewCell.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
MouseClickUnsharesRow | Indicates whether a row will be unshared if the user clicks a mouse button while the pointer is on a cell in the row. (Inherited from DataGridViewCell.) | |
MouseDoubleClickUnsharesRow | Indicates whether a row will be unshared if the user double-clicks a cell in the row. (Inherited from DataGridViewCell.) | |
MouseDownUnsharesRow | Indicates whether a row will be unshared when the user holds down a mouse button while the pointer is on a cell in the row. (Inherited from DataGridViewCell.) | |
MouseEnterUnsharesRow | Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row. (Inherited from DataGridViewCell.) | |
MouseLeaveUnsharesRow | Indicates whether a row will be unshared when the mouse pointer leaves the row. (Inherited from DataGridViewCell.) | |
MouseMoveUnsharesRow | Indicates whether a row will be unshared when the mouse pointer moves over a cell in the row. (Inherited from DataGridViewCell.) | |
MouseUpUnsharesRow | Indicates whether a row will be unshared when the user releases a mouse button while the pointer is on a cell in the row. (Inherited from DataGridViewCell.) | |
OnClick | Called when the cell is clicked. (Inherited from DataGridViewCell.) | |
OnContentClick | Called when the cell's contents are clicked. (Inherited from DataGridViewCell.) | |
OnContentDoubleClick | Called when the cell's contents are double-clicked. (Inherited from DataGridViewCell.) | |
OnDataGridViewChanged | Handle data grid changes (Overrides DataGridViewComboBoxCell.OnDataGridViewChanged().) | |
OnDoubleClick | Called when the cell is double-clicked. (Inherited from DataGridViewCell.) | |
OnEnter | Called when the focus moves to a cell. (Inherited from DataGridViewComboBoxCell.) | |
OnKeyDown | Called when a character key is pressed while the focus is on a cell. (Inherited from DataGridViewCell.) | |
OnKeyPress | Called when a key is pressed while the focus is on a cell. (Inherited from DataGridViewCell.) | |
OnKeyUp | Called when a character key is released while the focus is on a cell. (Inherited from DataGridViewCell.) | |
OnLeave | (Overrides DataGridViewComboBoxCell.OnLeave(Int32, Boolean).) | |
OnMouseClick | Called when the user clicks a mouse button while the pointer is on a cell. (Inherited from DataGridViewComboBoxCell.) | |
OnMouseDoubleClick | Called when the user double-clicks a mouse button while the pointer is on a cell. (Inherited from DataGridViewCell.) | |
OnMouseDown | Called when the user holds down a mouse button while the pointer is on a cell. (Inherited from DataGridViewCell.) | |
OnMouseEnter | Called when the mouse pointer moves over a cell. (Inherited from DataGridViewComboBoxCell.) | |
OnMouseLeave | Called when the mouse pointer leaves the cell. (Inherited from DataGridViewComboBoxCell.) | |
OnMouseMove | Called when the mouse pointer moves within a cell. (Inherited from DataGridViewComboBoxCell.) | |
OnMouseUp | Called when the user releases a mouse button while the pointer is on a cell. (Inherited from DataGridViewCell.) | |
Paint | Paints the current DataGridViewComboBoxCell. (Inherited from DataGridViewComboBoxCell.) | |
PaintBorder | Paints the border of the current DataGridViewCell. (Inherited from DataGridViewCell.) | |
PaintErrorIcon | Paints the error icon of the current DataGridViewCell. (Inherited from DataGridViewCell.) | |
ParseFormattedValue | Parse the value (Overrides DataGridViewComboBoxCell.ParseFormattedValue(Object, DataGridViewCellStyle, TypeConverter, TypeConverter).) | |
PositionEditingControl | Sets the location and size of the editing control hosted by a cell in the DataGridView control. (Inherited from DataGridViewCell.) | |
PositionEditingPanel | Sets the location and size of the editing panel hosted by the cell, and returns the normal bounds of the editing control within the editing panel. (Inherited from DataGridViewCell.) | |
RaiseCellClick | Raises the DataGridView.CellClick event. (Inherited from DataGridViewElement.) | |
RaiseCellContentClick | Raises the DataGridView.CellContentClick event. (Inherited from DataGridViewElement.) | |
RaiseCellContentDoubleClick | Raises the DataGridView.CellContentDoubleClick event. (Inherited from DataGridViewElement.) | |
RaiseCellValueChanged | Raises the DataGridView.CellValueChanged event. (Inherited from DataGridViewElement.) | |
RaiseDataError | Raises the DataGridView.DataError event. (Inherited from DataGridViewElement.) | |
RaiseMouseWheel | Raises the Control.MouseWheel event. (Inherited from DataGridViewElement.) | |
SetValue | Sets the value of the cell. (Inherited from DataGridViewCell.) | |
ToString | Returns a string that describes the current object. (Inherited from DataGridViewComboBoxCell.) |
Top
Remarks
This class must be public as it is created via reflection.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.