Свойство | Тип | Описание | |
---|---|---|---|
Disabled | bool | ||
Font | string | ||
IsDisabled | Func |
||
IsValid | Func |
||
LeftMargin | int | ||
MaxLength | int | ||
OnAltKey | Func |
||
OnEnterKey | Func |
||
OnEscKey | Func |
||
OnLoseFocus | System.Action | ||
OnTabKey | Func |
||
OnTextEdited | System.Action | ||
RightMargin | int | ||
TextColor | Color | ||
TextColorDisabled | Color | ||
TextColorInvalid | Color | ||
VisualHeight | int |
Свойство | Тип | Описание | |
---|---|---|---|
blinkCycle | int | ||
showCursor | bool |
Метод | Описание | |
---|---|---|
Clone ( ) : OpenRA.Widgets.Widget | ||
Draw ( ) : void | ||
HandleKeyPress ( KeyInput e ) : bool | ||
HandleMouseInput ( MouseInput mi ) : bool | ||
HandleTextInput ( string text ) : bool | ||
TextFieldWidget ( ) : System | ||
Tick ( ) : void | ||
YieldKeyboardFocus ( ) : bool |
Метод | Описание | |
---|---|---|
GetApparentText ( ) : string | ||
ResetBlinkCycle ( ) : void | ||
TextFieldWidget ( TextFieldWidget widget ) : System |
Метод | Описание | |
---|---|---|
ClosestCursorPosition ( int x ) : int | ||
GetNextWhitespaceIndex ( ) : int | ||
GetPrevWhitespaceIndex ( ) : int |
public HandleKeyPress ( KeyInput e ) : bool | ||
e | KeyInput | |
Результат | bool |
public HandleMouseInput ( MouseInput mi ) : bool | ||
mi | MouseInput | |
Результат | bool |
public HandleTextInput ( string text ) : bool | ||
text | string | |
Результат | bool |
protected TextFieldWidget ( TextFieldWidget widget ) : System | ||
widget | TextFieldWidget | |
Результат | System |