Class TextField
Assembly: UnityEngine.dll
Syntax
public class TextField : TextInputFieldBase<string>, ITransform, IUIElementDataWatch, IEnumerable<VisualElement>, IEnumerable, IVisualElementScheduler, IStyle, IBindable, INotifyValueChanged<string>, ITextInputField, IEventHandler, ITextElement
Constructors
|
Improve this Doc
View Source
TextField()
Declaration
|
Improve this Doc
View Source
TextField(Int32, Boolean, Boolean, Char)
Declaration
public TextField(int maxLength, bool multiline, bool isPasswordField, char maskChar)
Parameters
Properties
|
Improve this Doc
View Source
isPasswordField
Declaration
public override bool isPasswordField { set; }
Property Value
Overrides
UnityEngine.Experimental.UIElements.TextInputFieldBase<System.String>.isPasswordField
|
Improve this Doc
View Source
multiline
Declaration
public bool multiline { get; set; }
Property Value
|
Improve this Doc
View Source
value
Declaration
public override string value { get; set; }
Property Value
Overrides
UnityEngine.Experimental.UIElements.BaseField<System.String>.value
Methods
|
Improve this Doc
View Source
DoRepaint(IStylePainter)
Declaration
protected override void DoRepaint(IStylePainter painter)
Parameters
Overrides
UnityEngine.Experimental.UIElements.TextInputFieldBase<System.String>.DoRepaint(UnityEngine.Experimental.UIElements.IStylePainter)
|
Improve this Doc
View Source
ExecuteDefaultAction(EventBase)
Declaration
protected override void ExecuteDefaultAction(EventBase evt)
Parameters
Overrides
UnityEngine.Experimental.UIElements.TextInputFieldBase<System.String>.ExecuteDefaultAction(UnityEngine.Experimental.UIElements.EventBase)
|
Improve this Doc
View Source
ExecuteDefaultActionAtTarget(EventBase)
Declaration
protected override void ExecuteDefaultActionAtTarget(EventBase evt)
Parameters
Overrides
UnityEngine.Experimental.UIElements.TextInputFieldBase<System.String>.ExecuteDefaultActionAtTarget(UnityEngine.Experimental.UIElements.EventBase)
|
Improve this Doc
View Source
OnPersistentDataReady()
Declaration
public override void OnPersistentDataReady()
Overrides
UnityEngine.Experimental.UIElements.BaseField<System.String>.OnPersistentDataReady()
|
Improve this Doc
View Source
SelectRange(Int32, Int32)
Declaration
public void SelectRange(int cursorIndex, int selectionIndex)
Parameters
Type |
Name |
Description |
Int32 |
cursorIndex |
|
Int32 |
selectionIndex |
|
|
Improve this Doc
View Source
SetValueWithoutNotify(String)
Declaration
public override void SetValueWithoutNotify(string newValue)
Parameters
Type |
Name |
Description |
String |
newValue |
|
Overrides
UnityEngine.Experimental.UIElements.BaseField<System.String>.SetValueWithoutNotify(System.String)
Implements
Extension Methods