Table of Contents

Class TextBoxAndButton

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

Implements TextBox with side buttons.

public class TextBoxAndButton : ControlAndButton, IBaseObjectWithAttr, IBaseObjectWithId, INotifyPropertyChanged, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, ILayoutItem, INotifyDataErrorInfo
Inheritance
TextBoxAndButton
Implements
Derived

Remarks

TextBoxAndButton

Constructors

TextBoxAndButton()

Initializes a new instance of the TextBoxAndButton class.

Properties

AutoShowError

Gets or sets whether error reporter is automatically shown/hidden when error state is changed.

DropDownStyle

Gets or sets a value specifying the style of the control.

InputType

Gets or sets input type. Default is Null.

InputTypeArgs

Gets or sets init arguments which are used when InputType property is assigned.

IsEditable

Gets or sets a value that enables or disables editing of the text in text box area of the control.

IsNullOrEmpty

Gets whether Text is null or empty.

IsNullOrWhiteSpace

Gets whether Text is null or white space.

MainControl

Gets main child control.

Text

Gets or sets Text property of the main child control.

TextBox

Gets main child control, same as MainControl.

Methods

CreateControl()

Creates main child control.

InitAsInt32Edit(bool)

Initializes this control as the int editor.

InitAsNumericEdit(NumericTypeCode, InitAsNumericEditParams?)

Initializes this control as a numeric editor with the specified parameters.

InitFilterEdit()

Initializes this control for the filter editing.

InitPasswordEdit()

Initializes this control for the password editing.

InitSearchEdit()

Initializes this control for the search text editing.

MainControlTextChanged()

Called when text is changed in the main child control.

SetErrorText(NumericTypeCode, InitAsNumericEditParams?)

Sets appropriate error text using the specified parameters.

Events

IsEditableChanged

Occurs when the IsEditable property value changes.