Table of Contents

Class GenericWrappedTextControl

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

Implements simple text control which can text with new line characters and wrapping.

public class GenericWrappedTextControl : GenericTextControl, IBaseObjectWithId, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
Inheritance
GenericWrappedTextControl
Implements

Constructors

GenericWrappedTextControl()

Initializes a new instance of the GenericWrappedTextControl class.

GenericWrappedTextControl(AbstractControl?)

Initializes a new instance of the GenericWrappedTextControl class with the specified parent.

Properties

LineDistance

Gets or sets distance between lines of text.

TextHorizontalAlignment

Gets or sets text alignment.

TextTrimming
TextVerticalAlignment
TextWrapping

Methods

DrawText(Graphics, RectD, Font, Color, Color)

Paints text on the canvas.

GetFormat()

Gets text formatting record.

MeasureText(Graphics, Font, SizeD)

Measures text size.

SetFormat(Record)

Sets text formatting record.