Skip to main content

Class TextBox

Namespace: VelloSharp.Composition.Controls
Assembly: VelloSharp.Composition.dll

public class TextBox : TextBlock

Inheritance

objectCompositionElementTextBlockTextBox

Inherited Members

TextBlock.Text, TextBlock.FontSize, TextBlock.Foreground, TextBlock.GetTextForRendering(), TextBlock.Measure(in LayoutConstraints), CompositionElement.ArrangedBounds, CompositionElement.MeasureConstraints, CompositionElement.DesiredSize, CompositionElement.IsMounted, CompositionElement.Measure(in LayoutConstraints), CompositionElement.Arrange(in LayoutRect), CompositionElement.Mount(), CompositionElement.Unmount(), CompositionElement.GetChildren(), object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.MemberwiseClone(), object.ReferenceEquals(object?, object?), object.ToString()

Properties

AcceptsReturn

public bool AcceptsReturn { get; set; }

Property Value

bool

Background

public CompositionColor Background { get; set; }

Property Value

CompositionColor

BorderBrush

public CompositionColor BorderBrush { get; set; }

Property Value

CompositionColor

BorderThickness

public LayoutThickness BorderThickness { get; set; }

Property Value

LayoutThickness

CornerRadius

public double CornerRadius { get; set; }

Property Value

double

IsReadOnly

public bool IsReadOnly { get; set; }

Property Value

bool

Padding

public LayoutThickness Padding { get; set; }

Property Value

LayoutThickness

Methods

Measure(in LayoutConstraints)

public override void Measure(in LayoutConstraints constraints)

Parameters

constraints LayoutConstraints