C# Class ZForge.Controls.XPTable.Renderers.DropDownCellRenderer

Base class for CellRenderers that Cell contents like ComboBoxes
Inheritance: CellRenderer
Mostrar archivo Open project: zhuangyy/Motion

Public Methods

Method Description
OnMouseDown ( CellMouseEventArgs e ) : void

Raises the MouseDown event

OnMouseLeave ( CellMouseEventArgs e ) : void

Raises the MouseLeave event

OnMouseMove ( XPTable e ) : void

Raises the MouseMove event

OnMouseUp ( CellMouseEventArgs e ) : void

Raises the MouseUp event

OnPaintCell ( 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 ) : DropDownRendererData

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

OnPaintBackground ( 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 ) : DropDownRendererData
cell ZForge.Controls.XPTable.Models.Cell The Cell to get the DropDownRendererData data for
return DropDownRendererData

OnMouseDown() public method

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

OnMouseLeave() public method

Raises the MouseLeave event
public OnMouseLeave ( CellMouseEventArgs e ) : void
e ZForge.Controls.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 ( CellMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.CellMouseEventArgs A CellMouseEventArgs that contains the event data
return void

OnPaintBackground() protected method

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

OnPaintCell() public method

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