MaskedEditorAttribute class

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Indicates that the target property should use a "Masked" editor and also defines an automatic lookup script for row fields.

[AttributeUsage(AttributeTargets.All)]
public class MaskedEditorAttribute : CustomEditorAttribute

Public Members

name description
MaskedEditorAttribute() Initializes a new instance of the MaskedEditorAttribute class.
Mask { get; set; } Gets or sets the mask. a = letter, 9 = numeric, * = alphanumeric.
Placeholder { get; set; } Gets or sets the placeholder.
const Key Editor type key

See Also