Method | Description | |
---|---|---|
GetRectangles ( |
Gets the rectangle for the radio button and the text, given the specified cell bounds.
|
|
GetRectangles ( |
Gets the rectangle for the radio button and the text, given the specified cell bounds.
|
|
IsPointOverButton ( Point pt, bool relativeToCell ) : bool |
Gets a value indicating whether or not the specified point is over the cell's radio button. The relativeToCell flag is true when the specified point's origin is relative to the upper right corner of the cell. When false, it's assumed the point's origin is relative to the cell's owning grid control.
|
Method | Description | |
---|---|---|
OnMouseClick ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void |
|
|
OnMouseDown ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void |
Monitor when the mouse button goes down over the button.
|
|
OnMouseLeave ( int rowIndex ) : void |
|
|
OnMouseMove ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void |
|
|
OnMouseUp ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void |
Monitor when the user releases the mouse button.
|
|
Paint ( |
Paint the cell with a radio button and it's text.
|
Method | Description | |
---|---|---|
DrawButton ( |
||
DrawCellText ( |
Draws the cell's text.
|
|
GetVisualStyleComboButton ( ) : System.Windows.Forms.VisualStyles.VisualStyleElement |
Gets the correct visual style combo button given the state of the cell.
|
|
GetVisualStylePushButton ( ) : System.Windows.Forms.VisualStyles.VisualStyleElement |
Gets the correct visual style push button given the state of the cell.
|
|
InternalShowButton ( int rowIndex ) : bool | ||
ManageButtonToolTip ( ) : void |
|
public GetRectangles ( |
||
bounds | The rectangle of the entire cell. | |
rcbtn | The returned rectangle for the button. | |
rcText | The returned rectangle for the text. | |
return | void |
public GetRectangles ( |
||
bounds | The rectangle of the entire cell. | |
rcbtn | The returned rectangle for the button. | |
rcText | The returned rectangle for the text. | |
rowIndex | int | The index of the row. |
return | void |
public IsPointOverButton ( Point pt, bool relativeToCell ) : bool | ||
pt | Point | |
relativeToCell | bool | |
return | bool |
protected OnMouseClick ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void | ||
e | System.Windows.Forms.DataGridViewCellMouseEventArgs | |
return | void |
protected OnMouseDown ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void | ||
e | System.Windows.Forms.DataGridViewCellMouseEventArgs | |
return | void |
protected OnMouseLeave ( int rowIndex ) : void | ||
rowIndex | int | |
return | void |
protected OnMouseMove ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void | ||
e | System.Windows.Forms.DataGridViewCellMouseEventArgs | |
return | void |
protected OnMouseUp ( System.Windows.Forms.DataGridViewCellMouseEventArgs e ) : void | ||
e | System.Windows.Forms.DataGridViewCellMouseEventArgs | |
return | void |
protected Paint ( |
||
g | ||
clipBounds | ||
bounds | ||
rowIndex | int | |
state | DataGridViewElementStates | |
value | object | |
formattedValue | object | |
errorText | string | |
style | System.Windows.Forms.DataGridViewCellStyle | |
advancedBorderStyle | System.Windows.Forms.DataGridViewAdvancedBorderStyle | |
parts | DataGridViewPaintParts | |
return | void |