C# 클래스 ZForge.Controls.XPTable.Renderers.HeaderRenderer

Base class for Renderers that draw Column headers
상속: Renderer, IHeaderRenderer
파일 보기 프로젝트 열기: zhuangyy/Motion 1 사용 예제들

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
OnClick ( HeaderMouseEventArgs e ) : void

Raises the Click event

OnDoubleClick ( HeaderMouseEventArgs e ) : void

Raises the DoubleClick event

OnMouseDown ( HeaderMouseEventArgs e ) : void

Raises the MouseDown event

OnMouseEnter ( HeaderMouseEventArgs e ) : void

Raises the MouseEnter event

OnMouseLeave ( HeaderMouseEventArgs e ) : void

Raises the MouseLeave event

OnMouseMove ( HeaderMouseEventArgs e ) : void

Raises the MouseMove event

OnMouseUp ( HeaderMouseEventArgs e ) : void

Raises the MouseUp event

OnPaintHeader ( PaintHeaderEventArgs e ) : void

Raises the PaintHeader event

보호된 메소드들

메소드 설명
CalcImageRect ( ) : Rectangle

Returns a Rectangle that represents the size and location of the Image displayed on the ColumnHeader

CalcSortArrowRect ( ) : Rectangle

Returns a Rectangle that represents the size and location of the sort arrow

DrawColumnHeaderImage ( Graphics g, Image image, Rectangle imageRect, bool enabled ) : void

Draws the Image contained in the ColumnHeader

DrawSortArrow ( Graphics g, Rectangle drawRect, SortOrder direction, bool enabled ) : void

Draws the ColumnHeader's sort arrow

HeaderRenderer ( ) : System

Initializes a new instance of the HeaderRenderer class with default settings

OnPaint ( PaintHeaderEventArgs e ) : void

Raises the Paint event

OnPaintBackground ( PaintHeaderEventArgs e ) : void

Raises the PaintBackground event

메소드 상세

CalcImageRect() 보호된 메소드

Returns a Rectangle that represents the size and location of the Image displayed on the ColumnHeader
protected CalcImageRect ( ) : Rectangle
리턴 System.Drawing.Rectangle

CalcSortArrowRect() 보호된 메소드

Returns a Rectangle that represents the size and location of the sort arrow
protected CalcSortArrowRect ( ) : Rectangle
리턴 System.Drawing.Rectangle

DrawColumnHeaderImage() 보호된 메소드

Draws the Image contained in the ColumnHeader
protected DrawColumnHeaderImage ( Graphics g, Image image, Rectangle imageRect, bool enabled ) : void
g System.Drawing.Graphics The Graphics used to paint the Image
image Image The Image to be drawn
imageRect System.Drawing.Rectangle A rectangle that specifies the Size and /// Location of the Image
enabled bool Specifies whether the Image should be drawn /// in an enabled state
리턴 void

DrawSortArrow() 보호된 메소드

Draws the ColumnHeader's sort arrow
protected DrawSortArrow ( Graphics g, Rectangle drawRect, SortOrder direction, bool enabled ) : void
g System.Drawing.Graphics The Graphics to draw on
drawRect System.Drawing.Rectangle A Rectangle that specifies the location /// of the sort arrow
direction SortOrder The direction of the sort arrow
enabled bool Specifies whether the sort arrow should be /// drawn in an enabled state
리턴 void

HeaderRenderer() 보호된 메소드

Initializes a new instance of the HeaderRenderer class with default settings
protected HeaderRenderer ( ) : System
리턴 System

OnClick() 공개 메소드

Raises the Click event
public OnClick ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnDoubleClick() 공개 메소드

Raises the DoubleClick event
public OnDoubleClick ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnMouseDown() 공개 메소드

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

OnMouseEnter() 공개 메소드

Raises the MouseEnter event
public OnMouseEnter ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnMouseLeave() 공개 메소드

Raises the MouseLeave event
public OnMouseLeave ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnMouseMove() 공개 메소드

Raises the MouseMove event
public OnMouseMove ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnMouseUp() 공개 메소드

Raises the MouseUp event
public OnMouseUp ( HeaderMouseEventArgs e ) : void
e ZForge.Controls.XPTable.Events.HeaderMouseEventArgs A HeaderMouseEventArgs that contains the event data
리턴 void

OnPaint() 보호된 메소드

Raises the Paint event
protected OnPaint ( PaintHeaderEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintHeaderEventArgs A PaintHeaderEventArgs that contains the event data
리턴 void

OnPaintBackground() 보호된 메소드

Raises the PaintBackground event
protected OnPaintBackground ( PaintHeaderEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintHeaderEventArgs A PaintHeaderEventArgs that contains the event data
리턴 void

OnPaintHeader() 공개 메소드

Raises the PaintHeader event
public OnPaintHeader ( PaintHeaderEventArgs e ) : void
e ZForge.Controls.XPTable.Events.PaintHeaderEventArgs A PaintHeaderEventArgs that contains the event data
리턴 void