C# 클래스 AnimatGuiCtrls.Controls.DropDownControlBase

상속: System.Windows.Forms.Control
파일 보기 프로젝트 열기: NeuroRoboticTech/AnimatLabPublicSource

Private Properties

프로퍼티 타입 설명
GetDropDownButtonState ComboBoxState
GetPlainButtonState ButtonState
GetTextBoxBounds System.Drawing.Rectangle
GetTextBoxState ComboBoxState
SetHeight void

공개 메소드들

메소드 설명
DropDownControlBase ( ) : System

Creates a new instance of DropDownControlBase.

보호된 메소드들

메소드 설명
IsInputKey ( Keys keyData ) : bool

Registers the arrow keys as input keys.

OnDropDown ( EventArgs e ) : void

Raises the DropDown event.

OnDropDownButtonClick ( EventArgs e ) : void

Raised the DropDownButtonClick event.

OnDropDownClosed ( EventArgs e ) : void

Raises the DropDownClosed event.

OnFontChanged ( EventArgs e ) : void

Recalculates the fixed height of the control when the font changes.

OnGotFocus ( EventArgs e ) : void

Repaints the focus rectangle when focus changes.

OnLostFocus ( EventArgs e ) : void

Repaints the focus rectangle when focus changes.

OnMouseClick ( MouseEventArgs e ) : void

Determines when to raise the DropDownButtonClick event.

OnMouseDown ( MouseEventArgs e ) : void

Repaints the control when a mouse button is pressed.

OnMouseEnter ( EventArgs e ) : void

Repaints the control when the mouse enters its bounds.

OnMouseLeave ( EventArgs e ) : void

Repaints the control when the mouse leaves its bounds.

OnMouseMove ( MouseEventArgs e ) : void

Repaints the control when the mouse is moved over the control.

OnMouseUp ( MouseEventArgs e ) : void

Repaints the control when a mouse button is released.

OnPaint ( PaintEventArgs e ) : void

Paints the control.

OnPaintContent ( DropDownPaintEventArgs e ) : void

Paints the content in the editable portion of the control, providing additional measurements and operations.

OnSizeChanged ( EventArgs e ) : void

Recalculates the bounds for the dropdown button when the control's size changes.

비공개 메소드들

메소드 설명
GetDropDownButtonState ( ) : ComboBoxState

Determines the state in which to render the dropdown button portion of the control (when using visual styles).

GetPlainButtonState ( ) : ButtonState

Determines the state in which to render the dropdown button portion of the control (when not using visual styles).

GetTextBoxBounds ( ) : Rectangle

Gets the bounds of the textbox portion of the control by subtracting the dropdown button bounds from the client rectangle.

GetTextBoxState ( ) : ComboBoxState

Determines the state in which to render the textbox portion of the control (when using visual styles).

SetHeight ( ) : void

Sets the fixed height of the control, based on the font size.

메소드 상세

DropDownControlBase() 공개 메소드

Creates a new instance of DropDownControlBase.
public DropDownControlBase ( ) : System
리턴 System

IsInputKey() 보호된 메소드

Registers the arrow keys as input keys.
protected IsInputKey ( Keys keyData ) : bool
keyData Keys
리턴 bool

OnDropDown() 보호된 메소드

Raises the DropDown event.
protected OnDropDown ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDropDownButtonClick() 보호된 메소드

Raised the DropDownButtonClick event.
protected OnDropDownButtonClick ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnDropDownClosed() 보호된 메소드

Raises the DropDownClosed event.
protected OnDropDownClosed ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnFontChanged() 보호된 메소드

Recalculates the fixed height of the control when the font changes.
protected OnFontChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnGotFocus() 보호된 메소드

Repaints the focus rectangle when focus changes.
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnLostFocus() 보호된 메소드

Repaints the focus rectangle when focus changes.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseClick() 보호된 메소드

Determines when to raise the DropDownButtonClick event.
protected OnMouseClick ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseDown() 보호된 메소드

Repaints the control when a mouse button is pressed.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseEnter() 보호된 메소드

Repaints the control when the mouse enters its bounds.
protected OnMouseEnter ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseLeave() 보호된 메소드

Repaints the control when the mouse leaves its bounds.
protected OnMouseLeave ( EventArgs e ) : void
e System.EventArgs
리턴 void

OnMouseMove() 보호된 메소드

Repaints the control when the mouse is moved over the control.
protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnMouseUp() 보호된 메소드

Repaints the control when a mouse button is released.
protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
리턴 void

OnPaint() 보호된 메소드

Paints the control.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
리턴 void

OnPaintContent() 보호된 메소드

Paints the content in the editable portion of the control, providing additional measurements and operations.
protected OnPaintContent ( DropDownPaintEventArgs e ) : void
e DropDownPaintEventArgs
리턴 void

OnSizeChanged() 보호된 메소드

Recalculates the bounds for the dropdown button when the control's size changes.
protected OnSizeChanged ( EventArgs e ) : void
e System.EventArgs
리턴 void