All pages
Powered by GitBook
1 of 1

Loading...

IValidation

Wisej.Web.IValidation

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides access to the validation events and properties property for controls that support validation.

public interface IValidation
Public Interface IValidation

Using IValidation allows developers to use uniform code to access the validation-related properties and events used by the control.

Properties

InvalidMessage

: Returns or sets the invalid message that is shown in the invalid tooltip.

Events

Validated

Fired when the control is finished validating.

Validating

Fired when the control is validating.

Implemented By

Name
Description

// Old code
if (control is TextBox)
((TextBox)control).InvalidMessage = "Required";
else if (control is ComboBox)
((ComboBox)control).InvalidMessage = "Required";
// etc...

// New code
if (control is IValidation)
((IValidation)control).InvalidMessage = "Required";

Represents a control to display a list of items.

Provides a common implementation of members for the and classes.

Uses a mask to distinguish between proper and improper user input.

Represents a spinner control that displays numeric values.

Enables the user to select a single option from a group of choices when paired with other controls.

Represents a text box control that allows the user to enter any value.

Implements the basic functionality required by text controls.

Implements the basic functionality required by a spin box (also known as an up-down control).

Represents a control that can be hosted in a .

Represents a control that can be hosted in a .

Represents a control that can be hosted in a cell.

Represents a control that can be hosted in a .

Represents a control that can be hosted in a cell when the cell's is set to .

The TreeViewComboBox control represents a control with a as the drop down panel.

Represents a data field that displays a list of selectable and removable tags. The control recognizes tags as the user types and adds in front of the editable field.

Represents a spinner control that displays values.

The TreeViewComboBox control represents a control with a as the drop down panel.

Represents a text box control that allows the user to enter a typed value.

Represent an upload widget. Allows users to selected one or more files and upload them to the server.

The UserComboBox control represents a control with a custom panel that drops down when the user clicks the down arrow.

CheckBox

Represents a check box control.

CheckedListBox

Displays a ListBox in which a check box is displayed to the left of each item.

ComboBox

Represents a combo box control.

DateTimePicker

Represents a control that allows the user to select or type a date and a time.

DomainUpDown

Represents a spinner control that displays string values.

String
EventHandler
CancelEventHandler

ListBox
ListControl
ListBox
ComboBox
MaskedTextBox
NumericUpDown
RadioButton
RadioButton
TextBox
TextBoxBase
UpDownBase
DataGridViewComboBoxEditingControl
ComboBox
DataGridViewComboBoxCell
DataGridViewDateTimePickerEditingControl
DateTimePicker
DataGridViewDateTimePickerCell
DataGridViewMaskedTextBoxEditingControl
MaskedTextBox
DataGridViewMaskedTextBoxCell
DataGridViewNumericUpDownEditingControl
NumericUpDown
DataGridViewNumericUpDownCell
DataGridViewTextBoxEditingControl
TextBox
DataGridViewTextBoxCell
WrapMode
False
ListViewComboBox
UserComboBox
ListView
TagTextBox
TimeUpDown
TimeSpan
TreeViewComboBox
UserComboBox
TreeView
TypedTextBox
Upload
UserComboBox
ComboBox