Table of Contents

Interface IWxTextBoxHandler

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

Defines additional methods and properties for handling operations in text box controls implemented via WxWidgets library, including retrieving and setting text styles, and accessing the URL at the current cursor position.

public interface IWxTextBoxHandler : ITextBoxHandler, IDisposableObject, IDisposable, IBaseObject
Extension Methods

Properties

IsRichEdit

Gets or sets a value indicating whether the editor supports rich text formatting.

ReportedUrl

Gets url at current position of the cursor. This property is only valid in the event handler.

Methods

CreateTextAttr()

Creates new custom text style.

GetDefaultStyle()

Returns the style currently used for the new text.

GetStyle(long)

Returns the style at this position in the text control.

SetDefaultStyle(ITextBoxTextAttr)

Changes the default style to use for the new text which is going to be added to the control using WriteText(string) or AppendText(string).

SetStyle(long, long, ITextBoxTextAttr)

Changes the style of the given range.