EmailEditorAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Web

Email editor type with two inputs. Please prefer EmailAddressEditorAttribute which uses a single input.

[AttributeUsage(AttributeTargets.All)]
public class EmailEditorAttribute : CustomEditorAttribute, ICustomValidator

Public Members

name description
EmailEditorAttribute() Creates a new instance of the email editor
Domain { get; set; } Domain
ReadOnlyDomain { get; set; } True if the domain should be readonly
Validate(…) Validates the email address
static readonly EmailPattern Default email validation pattern
const Key Editor type key

See Also