Method | Description | |
---|---|---|
ButtonCellRenderer ( ) : System |
Initializes a new instance of the ButtonCellRenderer class with default settings
|
|
OnGotFocus ( |
Raises the GotFocus event
|
|
OnKeyDown ( |
Raises the KeyDown event
|
|
OnKeyUp ( |
Raises the KeyUp event
|
|
OnLostFocus ( |
Raises the LostFocus event
|
|
OnMouseDown ( |
Raises the MouseDown event
|
|
OnMouseEnter ( |
Raises the MouseEnter event
|
|
OnMouseLeave ( |
Raises the MouseLeave event
|
|
OnMouseMove ( |
Raises the MouseMove event
|
|
OnMouseUp ( |
Raises the MouseUp event
|
|
OnPaintCell ( |
Raises the PaintCell event
|
Method | Description | |
---|---|---|
CalcButtonBounds ( ) : |
Returns a Rectangle that specifies the size and location of the button
|
|
CalcImageRect ( Image image, ContentAlignment imageAlignment ) : |
Returns a Rectangle that specifies the size and location of the buttons Image
|
|
DrawImage ( |
Draws the Image displayed on the button
|
|
GetButtonRendererData ( |
Gets the ButtonCellRenderer specific data used by the Renderer from the specified Cell
|
|
OnPaint ( |
Raises the Paint event
|
|
OnPaintBackground ( |
Raises the PaintBackground event
|
protected CalcButtonBounds ( ) : |
||
return |
protected CalcImageRect ( Image image, ContentAlignment imageAlignment ) : |
||
image | Image | The buttons image |
imageAlignment | ContentAlignment | The alignment of the image |
return |
protected DrawImage ( |
||
g | The Graphics to draw on | |
image | Image | The Image to draw |
imageRect | A Rectangle that specifies the location /// of the Image | |
enabled | bool | Specifies whether the Image should be drawn /// in an enabled state |
return | void |
protected GetButtonRendererData ( |
||
cell | The Cell to get the ButtonCellRenderer data for | |
return |
public OnGotFocus ( |
||
e | A CellFocusEventArgs that contains the event data | |
return | void |
public OnKeyDown ( |
||
e | A CellKeyEventArgs that contains the event data | |
return | void |
public OnKeyUp ( |
||
e | A CellKeyEventArgs that contains the event data | |
return | void |
public OnLostFocus ( |
||
e | A CellFocusEventArgs that contains the event data | |
return | void |
public OnMouseDown ( |
||
e | A CellMouseEventArgs that contains the event data | |
return | void |
public OnMouseEnter ( |
||
e | A CellMouseEventArgs that contains the event data | |
return | void |
public OnMouseLeave ( |
||
e | A CellMouseEventArgs that contains the event data | |
return | void |
public OnMouseMove ( |
||
e | A CellMouseEventArgs that contains the event data | |
return | void |
public OnMouseUp ( |
||
e | A CellMouseEventArgs that contains the event data | |
return | void |
protected OnPaint ( |
||
e | A PaintCellEventArgs that contains the event data | |
return | void |
protected OnPaintBackground ( |
||
e | A PaintCellEventArgs that contains the event data | |
return | void |
public OnPaintCell ( |
||
e | A PaintCellEventArgs that contains the event data | |
return | void |