IModified

Wisej.Web.IModified

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.5.0.0)

Provides access to the Modified property and ModifiedChanged event for controls that implement this interface.

public interface IModified

Using IModified allows developers to use uniform code to access the modified state event of a control.


// Old code
if (control is TextBox)
return ((TextBox)control).Modifed;
else if (control is DateTimePicker)
return ((DateTimePicker)control).Modifed;
// etc...

// New code
return (control as IModified)?.Modified;

Properties

Boolean: Returns or sets a value that indicates that the control has been modified by the user since the control was created or its contents were last set.

Events

EventHandler Fired when the value of the Modified property has changed.

Implemented By

NameDescription

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

Represents a combo box control.

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

Represents a control to display a list of items.

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

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

Implements the basic functionality required by text controls.

Represents a ComboBox control that can be hosted in a DataGridViewComboBoxCell.

Represents a DateTimePicker control that can be hosted in a DataGridViewDateTimePickerCell.

Represents a MaskedTextBox control that can be hosted in a DataGridViewMaskedTextBoxCell cell.

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

The TreeViewComboBox control represents a UserComboBox control with a ListView 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.

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

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

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

Last updated