C# 클래스 YamuiFramework.Controls.YamuiTabButtons

This class displays items on a list o strings, next to each other each item is clickable and triggers the TabPressed event that provides the clicked index
상속: System.Windows.Forms.Button
파일 보기 프로젝트 열기: jcaillon/3P 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
SpaceBetweenText int

공개 메소드들

메소드 설명
GetWidth ( ) : int

Returns the width that will take the control

UpdateList ( List listOfButtons, int selectedIndex ) : void
YamuiTabButtons ( List listOfButtons, int selectedIndex ) : System

보호된 메소드들

메소드 설명
OnEnter ( EventArgs e ) : void
OnGotFocus ( EventArgs e ) : void
OnKeyDown ( KeyEventArgs e ) : void
OnKeyUp ( KeyEventArgs e ) : void
OnLeave ( EventArgs e ) : void
OnLostFocus ( EventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseEnter ( EventArgs e ) : void
OnMouseLeave ( EventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void
OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void

비공개 메소드들

메소드 설명
GetIndexFromLocation ( Point loc ) : int
GetRect ( int index ) : Rectangle
HandlePressedButton ( ) : void

메소드 상세

GetWidth() 공개 메소드

Returns the width that will take the control
public GetWidth ( ) : int
리턴 int

OnEnter() 보호된 메소드

protected OnEnter ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnGotFocus() 보호된 메소드

protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnKeyDown() 보호된 메소드

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
리턴 void

OnKeyUp() 보호된 메소드

protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
리턴 void

OnLeave() 보호된 메소드

protected OnLeave ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLostFocus() 보호된 메소드

protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseDown() 보호된 메소드

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseEnter() 보호된 메소드

protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseLeave() 보호된 메소드

protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseMove() 보호된 메소드

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseUp() 보호된 메소드

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnPaintBackground() 보호된 메소드

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnPreviewKeyDown() 보호된 메소드

protected OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void
e System.Windows.Forms.PreviewKeyDownEventArgs
리턴 void

UpdateList() 공개 메소드

public UpdateList ( List listOfButtons, int selectedIndex ) : void
listOfButtons List
selectedIndex int
리턴 void

YamuiTabButtons() 공개 메소드

public YamuiTabButtons ( List listOfButtons, int selectedIndex ) : System
listOfButtons List
selectedIndex int
리턴 System

프로퍼티 상세

SpaceBetweenText 공개적으로 프로퍼티

Spacing between items
public int SpaceBetweenText
리턴 int