Свойство | Type | Description | |
---|---|---|---|
GetDropDownButtonState | ComboBoxState | ||
GetPlainButtonState | ButtonState | ||
GetTextBoxBounds | |||
GetTextBoxState | ComboBoxState | ||
SetHeight | void |
Méthode | Description | |
---|---|---|
DropDownControlBase ( ) : System |
Creates a new instance of DropDownControlBase.
|
Méthode | 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.
|
Méthode | 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 IsInputKey ( Keys keyData ) : bool | ||
keyData | Keys | |
Résultat | bool |
protected OnDropDown ( |
||
e | ||
Résultat | void |
protected OnDropDownButtonClick ( |
||
e | ||
Résultat | void |
protected OnDropDownClosed ( |
||
e | ||
Résultat | void |
protected OnFontChanged ( |
||
e | ||
Résultat | void |
protected OnGotFocus ( |
||
e | ||
Résultat | void |
protected OnLostFocus ( |
||
e | ||
Résultat | void |
protected OnMouseClick ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
Résultat | void |
protected OnMouseDown ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
Résultat | void |
protected OnMouseEnter ( |
||
e | ||
Résultat | void |
protected OnMouseLeave ( |
||
e | ||
Résultat | void |
protected OnMouseMove ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
Résultat | void |
protected OnMouseUp ( MouseEventArgs e ) : void | ||
e | MouseEventArgs | |
Résultat | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | |
Résultat | void |
protected OnPaintContent ( |
||
e | ||
Résultat | void |
protected OnSizeChanged ( |
||
e | ||
Résultat | void |