All pages
Powered by GitBook
1 of 1

Loading...

IModified

Wisej.Web.IModified

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.0.0.0)

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

public interface IModified
Public Interface IModified

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

Properties

Modified

: 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

ModifiedChanged

Fired when the value of the property has changed.

Implemented By

Name
Description
// 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;

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

Implements the basic functionality required by text controls.

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 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.

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

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

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.

ListBox

Represents a control to display a list of items.

MaskedTextBox

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

Boolean
EventHandler
Modified

TextBox
TextBoxBase
DataGridViewComboBoxEditingControl
ComboBox
DataGridViewComboBoxCell
DataGridViewDateTimePickerEditingControl
DateTimePicker
DataGridViewDateTimePickerCell
DataGridViewMaskedTextBoxEditingControl
MaskedTextBox
DataGridViewMaskedTextBoxCell
DataGridViewTextBoxEditingControl
TextBox
DataGridViewTextBoxCell
WrapMode
False
ListViewComboBox
UserComboBox
ListView
TagTextBox
TreeViewComboBox
UserComboBox
TreeView
UserComboBox
ComboBox