Class TextBoxAndButton
Implements TextBox with side buttons.
public class TextBoxAndButton : ControlAndButton, IBaseObjectWithId, IDisposableObject, IBaseObject, ISupportInitialize, IFocusable, ITextProperty, IComponent, IControl, IDisposable, IWin32Window, INotifyDataErrorInfo
- Inheritance
-
TextBoxAndButton
- Implements
Remarks
Constructors
- TextBoxAndButton()
Initializes a new instance of the TextBoxAndButton class.
Properties
- AutoBackColor
Gets or sets whether background color is updated when InnerOuterBorder property is changed.
- AutoShowError
Gets or sets whether error reporter is automatically shown/hidden when error state is changed.
- HasInnerBorder
Gets or sets whether main inner control has border.
- InnerOuterBorder
Gets or sets where border is painted (around the child or around the parent). When this property is set, background color is also updated if AutoBackColor is true.
- InputType
Gets or sets input type. Default is Null.
- InputTypeArgs
Gets or sets init arguments which are used when InputType property is assigned.
- IsNullOrEmpty
Gets whether Text is null or empty.
- IsNullOrWhiteSpace
Gets whether Text is null or white space.
- MainControl
Gets main child control.
- TextBox
Gets main child control, same as MainControl.
Methods
- CreateControl()
Creates main child control.
- 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.
- RaiseAutoBackColorChanged()
Raised when AutoBackColor property is changed.
- SetSingleButton(KnownButton?)
Initializes buttons so only combo button with the specified image remains visible.