C# Class XPTable.Renderers.DropDownCellRenderer

Base class for CellRenderers that Cell contents like ComboBoxes
Inheritance: CellRenderer
Datei anzeigen Open project: binaryage/xrefresh

Public Methods

Method Description
OnMouseDown ( XPTable.Events.CellMouseEventArgs e ) : void

Raises the MouseDown event

OnMouseLeave ( XPTable.Events.CellMouseEventArgs e ) : void

Raises the MouseLeave event

OnMouseMove ( XPTable e ) : void

Raises the MouseMove event

OnMouseUp ( XPTable.Events.CellMouseEventArgs e ) : void

Raises the MouseUp event

OnPaintCell ( XPTable.Events.PaintCellEventArgs e ) : void

Raises the PaintCell event

Protected Methods

Method Description
CalcDropDownButtonBounds ( ) : Rectangle

Gets the Rectangle that specifies the Size and Location of the current Cell's dropdown button

DropDownCellRenderer ( ) : System

Initializes a new instance of the DropDownCellRenderer class with default settings

GetDropDownRendererData ( Cell cell ) : XPTable.Renderers.DropDownRendererData

Gets the DropDownRendererData specific data used by the Renderer from the specified Cell

OnPaintBackground ( XPTable.Events.PaintCellEventArgs e ) : void

Paints the Cells background

Method Details

CalcDropDownButtonBounds() protected method

Gets the Rectangle that specifies the Size and Location of the current Cell's dropdown button
protected CalcDropDownButtonBounds ( ) : Rectangle
return System.Drawing.Rectangle

DropDownCellRenderer() protected method

Initializes a new instance of the DropDownCellRenderer class with default settings
protected DropDownCellRenderer ( ) : System
return System

GetDropDownRendererData() protected method

Gets the DropDownRendererData specific data used by the Renderer from the specified Cell
protected GetDropDownRendererData ( Cell cell ) : XPTable.Renderers.DropDownRendererData
cell XPTable.Models.Cell The Cell to get the DropDownRendererData data for
return XPTable.Renderers.DropDownRendererData

OnMouseDown() public method

Raises the MouseDown event
public OnMouseDown ( XPTable.Events.CellMouseEventArgs e ) : void
e XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
return void

OnMouseLeave() public method

Raises the MouseLeave event
public OnMouseLeave ( XPTable.Events.CellMouseEventArgs e ) : void
e XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
return void

OnMouseMove() public method

Raises the MouseMove event
public OnMouseMove ( XPTable e ) : void
e XPTable A CellMouseEventArgs that contains the event data
return void

OnMouseUp() public method

Raises the MouseUp event
public OnMouseUp ( XPTable.Events.CellMouseEventArgs e ) : void
e XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
return void

OnPaintBackground() protected method

Paints the Cells background
protected OnPaintBackground ( XPTable.Events.PaintCellEventArgs e ) : void
e XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
return void

OnPaintCell() public method

Raises the PaintCell event
public OnPaintCell ( XPTable.Events.PaintCellEventArgs e ) : void
e XPTable.Events.PaintCellEventArgs A PaintCellEventArgs that contains the event data
return void