IReadOnly

Wisej.Web.IReadOnly

Namespace: Wisej.Web

Assembly: Wisej.Framework (3.2.0.0)

Provides access to the ReadOnly property for coontrols that support the read-only mode.

public interface IReadOnly

Using IReadOnly allows developers to use uniform code to access the read-only properties and events used by the control.


// Old code
if (control is TextBox)
((TextBox)control).ReadOnly = true;
else if (control is DataGridView)
((DataGridView)control).ReadOnly = true;
// etc...

// New code
if (control is IReadOnly)
((IReadOnly)control).ReadOnlyy = true;

Properties

Boolean: Returns or sets whether the text box control is read-only.

Events

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

Implemented By

NameDescription

Represents a check box control.

Represents a combo box control.

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

Represents a spinner control that displays string values.

Represents a control to display a list of items.

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

Represents a control that enables the user to select a date using a visual monthly calendar display.

Represents a spinner control that displays numeric values.

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 data grid control.

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 text box control that allows the user to enter a typed value.

Provides a user interface for browsing the properties of an object.

Last updated