Table of Contents

Class WindowTextInput

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

Implements window with Label, TextBox and buttons.

public class WindowTextInput : DialogWindow, IBaseObjectWithId, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, INotifyDataErrorInfo, IWindow, IControl, IDisposable, IWin32Window
Inheritance
WindowTextInput
Implements

Constructors

WindowTextInput()

Initializes a new instance of the WindowTextInput class.

Fields

DefaultMargin

Gets or sets default margin for the controls.

UseCharValidator

Gets or sets whether to use char validator to limit unwanted chars in the input.

Properties

Buttons

Gets panel with buttons.

Edit

Gets value editor.

Label

Gets label.

Message

Gets or sets dialog message.

Methods

GetLongFromUserAsync(LongFromUserParams)

Shows a dialog asking the user for numeric input. The user may type in number and press 'OK' or 'Cancel'.

GetTextFromUserAsync(TextFromUserParams)

Popups a dialog box with title, message and text input bot. The user may type in text and press 'OK' or 'Cancel'.

InitAsLong(LongFromUserParams)

Assigns dialog properties from the LongFromUserParams parameters.

InitAsText(TextFromUserParams)

Assigns dialog properties from the TextFromUserParams parameters.

Initialize<T>(ValueFromUserParams<T>)

Assigns dialog properties from the ValueFromUserParams<T> parameters.