Represents a base class for Data Editors Extensions.
Name | Description |
---|---|
EditorExtension(EditorSettings) |
Initializes a new instance of the EditorExtension class with the specified settings. |
EditorExtension(EditorSettings, ViewContext) |
Initializes a new instance of the EditorExtension class with the specified settings and provides the context information about the view. |
Name | Description |
---|---|
Bind(Object) |
Binds an editor to a value. |
Bind(Object, String) |
Binds an editor to a data source's field. |
Equals(Object) |
Determines whether the specified object is equal to the current object.
(Inherited from Object)
|
Equals(Object, Object) static |
Determines whether the specified object instances are considered equal.
(Inherited from Object)
|
GetHashCode() |
Serves as the default hash function.
(Inherited from Object)
|
GetHtml() |
Inserts the HTML code rendered by an extension into the required page output. (Inherited from ExtensionBase)
|
GetType() |
Gets the Type of the current instance.
(Inherited from Object)
|
GetValue<T>(String) static |
Returns a specific editor's value. |
GetValue<T>(String, MaskSettings) static |
Returns a specific editor's value, which is validated based on the passed mask settings. |
GetValue<T>(String, ValidationSettings) static |
Returns a specific editor's value, which is validated based on the passed validation settings. |
GetValue<T>(String, ValidationSettings, EventHandler<ValidationEventArgs>) static |
Returns a specific editor's value, which is validated based on both the passed validation settings and custom validation logic. |
GetValue<T>(String, ValidationSettings, EventHandler<ValidationEventArgs>, MaskSettings) static |
Returns a specific editor's value, which is validated based on the passed validation and mask settings and custom validation logic. |
GetValue<T>(String, ValidationSettings, EventHandler<ValidationEventArgs>, MaskSettings, ref Boolean) static |
Returns a specific editor's value, which is validated based on the passed validation and mask settings, and custom validation logic, and indicates whether the editor value is valid. |
GetValue<T>(String, ValidationSettings, EventHandler<ValidationEventArgs>, ref Boolean) static |
Returns a specific editor's value, which is validated based on both the passed validation settings and custom validation logic, and indicates whether the editor value is valid. |
GetValue<T>(String, ValidationSettings, MaskSettings) static |
Returns a specific editor's value, which is validated based on the passed validation and mask settings. |
MemberwiseClone() |
Creates a shallow copy of the current Object.
(Inherited from Object)
|
ReferenceEquals(Object, Object) static |
Determines whether the specified Object instances are the same instance.
(Inherited from Object)
|
Render() |
Renders the extension's HTML code to the Response. (Inherited from ExtensionBase)
|
ToString() |
Returns a string that represents the current object.
(Inherited from Object)
|