Property | Type | Description | |
---|---|---|---|
GetDropDownButtonState | ComboBoxState | ||
GetPlainButtonState | ButtonState | ||
GetTextBoxBounds | |||
GetTextBoxState | ComboBoxState | ||
SetHeight | void |
Method | Description | |
---|---|---|
DropDownControlBase ( ) : System |
Creates a new instance of DropDownControlBase.
|
Method | Description | |
---|---|---|
IsInputKey ( Keys keyData ) : bool |
Registers the arrow keys as input keys.
|
|
OnDropDown ( |
Raises the DropDown event.
|
|
OnDropDownButtonClick ( |
Raised the DropDownButtonClick event.
|
|
OnDropDownClosed ( |
Raises the DropDownClosed event.
|
|
OnFontChanged ( |
Recalculates the fixed height of the control when the font changes.
|
|
OnGotFocus ( |
Repaints the focus rectangle when focus changes.
|
|
OnLostFocus ( |
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 ( |
Repaints the control when the mouse enters its bounds.
|
|
OnMouseLeave ( |
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 ( |
Paints the content in the editable portion of the control, providing additional measurements and operations.
|
|
OnSizeChanged ( |
Recalculates the bounds for the dropdown button when the control's size changes.
|
Method | Description | |
---|---|---|
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 ( ) : |
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.
|
protected OnDropDown ( |
||
e | ||
return | void |
protected OnDropDownButtonClick ( |
||
e | ||
return | void |
protected OnDropDownClosed ( |
||
e | ||
return | void |
protected OnFontChanged ( |
||
e | ||
return | void |
protected OnGotFocus ( |
||
e | ||
return | void |
protected OnLostFocus ( |
||
e | ||
return | void |
protected OnMouseClick ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnMouseEnter ( |
||
e | ||
return | void |
protected OnMouseLeave ( |
||
e | ||
return | void |
protected OnMouseMove ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnMouseUp ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
return | void |
protected OnPaintContent ( |
||
e | ||
return | void |
protected OnSizeChanged ( |
||
e | ||
return | void |