PlaceholderAttribute constructor

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Sets a placeholder for a form field. Placeholder text is shown inside the editor when its value is empty. Only editors using basic inputs and Select2 editor supports this.

public PlaceholderAttribute(string value)
parameter description
value The value.

Remarks

Initializes a new instance of the PlaceholderAttribute class.

See Also