C# Class TpTrayUtility.TpListViewHeader

Inheritance: System.Windows.Forms.Control
Afficher le fichier Open project: TargetProcess/Tp.TrayUtility Class Usage Examples

Méthodes publiques

Свойство Type Description
headerClickedEvent HeaderClickEventHandler
headerItems List

Méthodes publiques

Méthode Description
AddHeaderItem ( string text, int width ) : void
GetSizes ( ) : int[]
Set ( string texts, int widths ) : void
TpListViewHeader ( ) : System

Méthodes protégées

Méthode Description
DrawHeaderItem ( Graphics g, int offs, HeaderItem item ) : void
OnMouseClick ( MouseEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Private Methods

Méthode Description
FindItem ( int pos ) : HeaderItem
FindItemSplitter ( int pos ) : HeaderItem
GetItemIndex ( HeaderItem it ) : int
GetItemPosition ( HeaderItem it ) : int
ResetActiveFlag ( ) : void

Method Details

AddHeaderItem() public méthode

public AddHeaderItem ( string text, int width ) : void
text string
width int
Résultat void

DrawHeaderItem() protected méthode

protected DrawHeaderItem ( Graphics g, int offs, HeaderItem item ) : void
g System.Drawing.Graphics
offs int
item HeaderItem
Résultat void

GetSizes() public méthode

public GetSizes ( ) : int[]
Résultat int[]

OnMouseClick() protected méthode

protected OnMouseClick ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseLeave() protected méthode

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

Set() public méthode

public Set ( string texts, int widths ) : void
texts string
widths int
Résultat void

TpListViewHeader() public méthode

public TpListViewHeader ( ) : System
Résultat System

Property Details

headerClickedEvent public_oe property

public HeaderClickEventHandler headerClickedEvent
Résultat HeaderClickEventHandler

headerItems public_oe property

public List headerItems
Résultat List