Skip to content

UiTextInput

Single-line editable field.

Kolpa.Engine.UiTextInput

public sealed class UiTextInput : Component
{
public UiTextInput();
public static bool AnyFocused { get; }
public Color CaretColor { get; set; }
public bool Focused { get; }
public int FontSize { get; set; }
public uint MaxLength { get; set; }
public string Placeholder { get; set; }
public Color PlaceholderColor { get; set; }
public bool ReadOnly { get; set; }
public UiResolvedStyle ResolvedStyle { get; }
public Color SelectionColor { get; set; }
public UiStyleSource StyleSource { get; set; }
public string Text { get; set; }
public Color TextColor { get; set; }
public UiTypography Typography { get; set; }
public event Action Submitted;
public event Action TextChanged;
}