Class TextInputFieldBase<T>
Inheritance
TextInputFieldBase<T>
Assembly: UnityEngine.dll
Syntax
public abstract class TextInputFieldBase<T> : BaseField<T>, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, IBindable, INotifyValueChanged<T>, ITextInputField, IEventHandler, ITextElement
Type Parameters
Constructors
|
Improve this Doc
View Source
TextInputFieldBase(Int32, Char)
Declaration
public TextInputFieldBase(int maxLength, char maskChar)
Parameters
Type |
Name |
Description |
Int32 |
maxLength |
|
Char |
maskChar |
|
Properties
|
Improve this Doc
View Source
cursorColor
Declaration
public Color cursorColor { get; }
Property Value
|
Improve this Doc
View Source
cursorIndex
Declaration
public int cursorIndex { get; }
Property Value
|
Improve this Doc
View Source
doubleClickSelectsWord
Declaration
public bool doubleClickSelectsWord { get; set; }
Property Value
|
Improve this Doc
View Source
isDelayed
Declaration
public bool isDelayed { get; set; }
Property Value
|
Improve this Doc
View Source
isPasswordField
Declaration
public virtual bool isPasswordField { get; set; }
Property Value
|
Improve this Doc
View Source
maskChar
Declaration
public char maskChar { get; set; }
Property Value
|
Improve this Doc
View Source
maxLength
Declaration
public int maxLength { get; set; }
Property Value
|
Improve this Doc
View Source
selectIndex
Declaration
public int selectIndex { get; }
Property Value
|
Improve this Doc
View Source
selectionColor
Declaration
public Color selectionColor { get; }
Property Value
|
Improve this Doc
View Source
text
Declaration
public string text { get; protected set; }
Property Value
|
Improve this Doc
View Source
tripleClickSelectsLine
Declaration
public bool tripleClickSelectsLine { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Declaration
protected virtual void BuildContextualMenu(ContextualMenuPopulateEvent evt)
Parameters
|
Improve this Doc
View Source
DoMeasure(Single, VisualElement.MeasureMode, Single, VisualElement.MeasureMode)
Declaration
protected override Vector2 DoMeasure(float width, VisualElement.MeasureMode widthMode, float height, VisualElement.MeasureMode heightMode)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
DoRepaint(IStylePainter)
Declaration
protected override void DoRepaint(IStylePainter painter)
Parameters
Overrides
|
Improve this Doc
View Source
ExecuteDefaultAction(EventBase)
Declaration
protected override void ExecuteDefaultAction(EventBase evt)
Parameters
Overrides
|
Improve this Doc
View Source
ExecuteDefaultActionAtTarget(EventBase)
Declaration
protected override void ExecuteDefaultActionAtTarget(EventBase evt)
Parameters
Overrides
|
Improve this Doc
View Source
OnStyleResolved(ICustomStyle)
Declaration
protected override void OnStyleResolved(ICustomStyle style)
Parameters
Overrides
|
Improve this Doc
View Source
SelectAll()
Declaration
Implements
Extension Methods