C# Класс Umc.Core.Tools.VSGesture.Controls.PickerBase

Represents a base class of a Windows Picker control that allows you to edit a value of any type.
Наследование: System.Windows.Forms.ContainerControl
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
IsInputKey ( Keys key ) : bool

Determines whether the specified key is a regular input key or a special key that requires preprocessing.

OnBackColorChanged ( EventArgs e ) : void

Raises the BackColorChanged event.

OnCursorChanged ( EventArgs e ) : void

Raises the CursorChanged event.

OnEnabledChanged ( EventArgs e ) : void

Raises the EnabledChanged event.

OnEnter ( EventArgs e ) : void

Raises the Enter event.

OnFontChanged ( EventArgs e ) : void

Raises the FontChanged event.

OnForeColorChanged ( EventArgs e ) : void

Raises the ForeColorChanged event.

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event.

OnHandleCreated ( EventArgs e ) : void

Raises the HandleCreated event.

OnKeyDown ( KeyEventArgs e ) : void

Raises the KeyDown event.

OnKeyPress ( KeyPressEventArgs e ) : void

Raises the KeyPress event.

OnLeave ( EventArgs e ) : void

Raises the Leave event.

OnMouseDown ( MouseEventArgs e ) : void

Raises the MouseDown event.

OnMouseWheel ( MouseEventArgs e ) : void

Raises the MouseWheel event.

OnPaint ( PaintEventArgs e ) : void

Raises the Paint event.

OnReadOnlyChanged ( EventArgs e ) : void

Raises the ReadOnlyChanged event.

OnSystemColorsChanged ( EventArgs e ) : void

Raises the SystemColorsChanged event.

OnValidating ( CancelEventArgs e ) : void

Raises the Validating event.

OnValueChanged ( EventArgs e ) : void

Raises the OnValueChanged event.

PickerBase ( Type type ) : System

Constructor

ProcessDialogKey ( Keys key ) : bool

Processes a dialog key.

ScaleCore ( float dx, float dy ) : void

Performs the work of scaling the entire control and any child controls.

SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void

Performs the work of setting the specified bounds of this control.

Приватные методы

Метод Описание
AdjustHeight ( ) : void
CanTextEditable ( ) : bool
CommitList ( ) : void
CommitText ( string text ) : bool
CommitValue ( object value ) : bool
DoDropDown ( ) : void
GetValueAsText ( object value ) : string
GetValueList ( ) : object[]
IsDropDown ( ) : bool
IsEnumerable ( ) : bool
LayoutControls ( ) : void
PaintBorder ( Graphics g ) : void
ProcessEditorKey ( Keys key ) : bool
SelectEnumerableValue ( bool next ) : void
SetValue ( object value ) : void
UpdateTextWithValue ( ) : bool
pickerButton_MouseDown ( object sender, MouseEventArgs e ) : void
pickerButton_MouseUp ( object sender, MouseEventArgs e ) : void
pickerListBox_MouseUp ( object sender, MouseEventArgs e ) : void
pickerListBox_SelectedIndexChanged ( object sender, EventArgs e ) : void
pickerTextBox_GotFocus ( object sender, EventArgs e ) : void
pickerTextBox_KeyDown ( object sender, KeyEventArgs e ) : void
pickerTextBox_KeyPress ( object sender, KeyPressEventArgs e ) : void
pickerTextBox_KeyUp ( object sender, KeyEventArgs e ) : void
pickerTextBox_LostFocus ( object sender, EventArgs e ) : void
pickerTextBox_TextChanged ( object sender, EventArgs e ) : void
pickerTextBox_Validated ( object sender, EventArgs e ) : void
pickerTextBox_Validating ( object sender, CancelEventArgs e ) : void
pickerValueBox_MouseDown ( object sender, MouseEventArgs e ) : void

Описание методов

IsInputKey() защищенный Метод

Determines whether the specified key is a regular input key or a special key that requires preprocessing.
protected IsInputKey ( Keys key ) : bool
key Keys One of the Keys values.
Результат bool

OnBackColorChanged() защищенный Метод

Raises the BackColorChanged event.
protected OnBackColorChanged ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnCursorChanged() защищенный Метод

Raises the CursorChanged event.
protected OnCursorChanged ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnEnabledChanged() защищенный Метод

Raises the EnabledChanged event.
protected OnEnabledChanged ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnEnter() защищенный Метод

Raises the Enter event.
protected OnEnter ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnFontChanged() защищенный Метод

Raises the FontChanged event.
protected OnFontChanged ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnForeColorChanged() защищенный Метод

Raises the ForeColorChanged event.
protected OnForeColorChanged ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnGotFocus() защищенный Метод

Raises the GotFocus event.
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnHandleCreated() защищенный Метод

Raises the HandleCreated event.
protected OnHandleCreated ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnKeyDown() защищенный Метод

Raises the KeyDown event.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs The event data.
Результат void

OnKeyPress() защищенный Метод

Raises the KeyPress event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs The event data.
Результат void

OnLeave() защищенный Метод

Raises the Leave event.
protected OnLeave ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnMouseDown() защищенный Метод

Raises the MouseDown event.
protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs The event data.
Результат void

OnMouseWheel() защищенный Метод

Raises the MouseWheel event.
protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs The event data.
Результат void

OnPaint() защищенный Метод

Raises the Paint event.
protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs The event data.
Результат void

OnReadOnlyChanged() защищенный Метод

Raises the ReadOnlyChanged event.
protected OnReadOnlyChanged ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnSystemColorsChanged() защищенный Метод

Raises the SystemColorsChanged event.
protected OnSystemColorsChanged ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

OnValidating() защищенный Метод

Raises the Validating event.
protected OnValidating ( CancelEventArgs e ) : void
e CancelEventArgs The event data.
Результат void

OnValueChanged() защищенный Метод

Raises the OnValueChanged event.
protected OnValueChanged ( EventArgs e ) : void
e System.EventArgs The event data.
Результат void

PickerBase() защищенный Метод

Constructor
protected PickerBase ( Type type ) : System
type System.Type The Type of object that can be edited by this control.
Результат System

ProcessDialogKey() защищенный Метод

Processes a dialog key.
protected ProcessDialogKey ( Keys key ) : bool
key Keys One of the Keys values that represents the key to process.
Результат bool

ScaleCore() защищенный Метод

Performs the work of scaling the entire control and any child controls.
protected ScaleCore ( float dx, float dy ) : void
dx float The ratio by which to scale the control horizontally.
dy float The ratio by which to scale the control vertically.
Результат void

SetBoundsCore() защищенный Метод

Performs the work of setting the specified bounds of this control.
protected SetBoundsCore ( int x, int y, int width, int height, BoundsSpecified specified ) : void
x int The new Left property value of the control.
y int The new Right property value of the control.
width int The new Width property value of the control.
height int The new Height property value of the control.
specified BoundsSpecified A bitwise combination of the BoundsSpecified values.
Результат void