Show / Hide Table of Contents

Class TextBox

Implements a single line text edit box.

Inheritance
Object
BaseScreenComponent
Panel
TextBox
Inherited Members
Panel.Components
Panel.EnableBorder
Panel.HasFocusOutlineColor
Panel.LostFocusOutlineColor
Panel.Outline
Panel.SetBorderTextures(Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, Texture2D, FilterMode, Nullable<Border<Vector2Int>>)
Panel.GotFocus()
Panel.LostFocus()
Panel.ProcessHotkeySequences(HotkeySequence.KeyModifiers)
BaseScreenComponent.rectRestrictedRenderArea
BaseScreenComponent.restrictedRenderAreaCustomParent
BaseScreenComponent.restrictedRenderAreaCoordinateType
BaseScreenComponent.backgroundTexture
BaseScreenComponent.animatedBackgroundTextures
BaseScreenComponent.backgroundTextureLayout
BaseScreenComponent.OnKeyboardEvent
BaseScreenComponent.OnMouseEnter
BaseScreenComponent.OnMouseLeave
BaseScreenComponent.OnMouseMove
BaseScreenComponent.OnMouseDown
BaseScreenComponent.OnMouseUp
BaseScreenComponent.OnMouseClick
BaseScreenComponent.OnMouseDoubleClick
BaseScreenComponent.OnRightMouseDown
BaseScreenComponent.OnRightMouseUp
BaseScreenComponent.OnRightMouseClick
BaseScreenComponent.OnRightMouseDoubleClick
BaseScreenComponent.OnMiddleMouseDown
BaseScreenComponent.OnMiddleMouseUp
BaseScreenComponent.OnMiddleMouseClick
BaseScreenComponent.OnMiddleMouseDoubleClick
BaseScreenComponent.OnMouseScrollUp
BaseScreenComponent.OnMouseScrollDown
BaseScreenComponent.Enabled
BaseScreenComponent.UseFocus
BaseScreenComponent.OverridesHotkeySequences
BaseScreenComponent.Name
BaseScreenComponent.Tag
BaseScreenComponent.Position
BaseScreenComponent.Size
BaseScreenComponent.RootSize
BaseScreenComponent.Parent
BaseScreenComponent.Rectangle
BaseScreenComponent.HorizontalAlignment
BaseScreenComponent.VerticalAlignment
BaseScreenComponent.RestrictedRenderAreaCoordinateType
BaseScreenComponent.RectRestrictedRenderArea
BaseScreenComponent.RestrictedRenderAreaCustomParent
BaseScreenComponent.UseRestrictedRenderArea
BaseScreenComponent.CustomMousePosition
BaseScreenComponent.MousePosition
BaseScreenComponent.LastMousePosition
BaseScreenComponent.ScaledMousePosition
BaseScreenComponent.BackgroundColor
BaseScreenComponent.MouseOverBackgroundColor
BaseScreenComponent.BackgroundColorTexture
BaseScreenComponent.BackgroundTexture
BaseScreenComponent.BackgroundCroppedRect
BaseScreenComponent.AnimatedBackgroundTextures
BaseScreenComponent.AnimationDelayInSeconds
BaseScreenComponent.BackgroundTextureLayout
BaseScreenComponent.InteriorWidth
BaseScreenComponent.InteriorHeight
BaseScreenComponent.Scale
BaseScreenComponent.AutoSize
BaseScreenComponent.LocalScale
BaseScreenComponent.ToolTip
BaseScreenComponent.ToolTipText
BaseScreenComponent.SuppressToolTip
BaseScreenComponent.MinAutoScale
BaseScreenComponent.MaxAutoScale
BaseScreenComponent.MouseOverComponent
BaseScreenComponent.TopMargin
BaseScreenComponent.BottomMargin
BaseScreenComponent.LeftMargin
BaseScreenComponent.RightMargin
BaseScreenComponent.ScreenToLocal(Vector2)
BaseScreenComponent.ScreenToLocal(Rect)
BaseScreenComponent.TriggerMouseClick()
BaseScreenComponent.KeyboardEvent(Event)
BaseScreenComponent.MouseClick(Vector2)
BaseScreenComponent.RightMouseClick(Vector2)
BaseScreenComponent.MiddleMouseClick(Vector2)
BaseScreenComponent.MouseDoubleClick(Vector2)
BaseScreenComponent.RightMouseDoubleClick(Vector2)
BaseScreenComponent.MiddleMouseDoubleClick(Vector2)
BaseScreenComponent.MouseEnter()
BaseScreenComponent.MouseLeave(BaseScreenComponent)
BaseScreenComponent.MouseMove(Int32, Int32)
BaseScreenComponent.MouseScrollUp()
BaseScreenComponent.MouseScrollDown()
BaseScreenComponent.Dispose()
BaseScreenComponent.SetMargins(Margins, Int32)
BaseScreenComponent.OffsetFrom(BaseScreenComponent, Sides, Int32)
BaseScreenComponent.SetFocus()
BaseScreenComponent.HasFocus()
Namespace: DaggerfallWorkshop.Game.UserInterface
Assembly: Assembly-CSharp.dll
Syntax
public class TextBox : Panel, IDisposable

Constructors

| Improve this Doc View Source

TextBox(DaggerfallFont)

Declaration
public TextBox(DaggerfallFont font = null)
Parameters
Type Name Description
DaggerfallFont font

Properties

| Improve this Doc View Source

Cursor

Declaration
public TextCursor Cursor { get; }
Property Value
Type Description
TextCursor
| Improve this Doc View Source

DefaultText

Declaration
public string DefaultText { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

DefaultTextColor

Declaration
public Color DefaultTextColor { get; set; }
Property Value
Type Description
Color
| Improve this Doc View Source

FixedSize

Declaration
public bool FixedSize { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

Font

Declaration
public DaggerfallFont Font { get; set; }
Property Value
Type Description
DaggerfallFont
| Improve this Doc View Source

MaxCharacters

Declaration
public int MaxCharacters { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

MaxSize

Declaration
public Vector2 MaxSize { get; set; }
Property Value
Type Description
Vector2
| Improve this Doc View Source

Numeric

Declaration
public bool Numeric { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

NumericMode

Declaration
public NumericMode NumericMode { get; set; }
Property Value
Type Description
NumericMode
| Improve this Doc View Source

ReadOnly

Declaration
public bool ReadOnly { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

ResultText

Declaration
public string ResultText { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Text

Declaration
public string Text { get; set; }
Property Value
Type Description
String
| Improve this Doc View Source

TextOffset

Declaration
public int TextOffset { get; set; }
Property Value
Type Description
Int32
| Improve this Doc View Source

UpperOnly

Declaration
public bool UpperOnly { get; set; }
Property Value
Type Description
Boolean
| Improve this Doc View Source

WidthOverride

Declaration
public int WidthOverride { get; set; }
Property Value
Type Description
Int32

Methods

| Improve this Doc View Source

Draw()

Declaration
public override void Draw()
Overrides
Panel.Draw()
| Improve this Doc View Source

RaiseOnTypeHandler()

Declaration
protected virtual void RaiseOnTypeHandler()
| Improve this Doc View Source

Update()

Declaration
public override void Update()
Overrides
Panel.Update()

Events

| Improve this Doc View Source

OnType

Declaration
public event TextBox.OnTypeHandler OnType
Event Type
Type Description
TextBox.OnTypeHandler
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX