Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ModelMetadata.Watermark Property

 

Gets or sets a value that can be used as a watermark.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

No code example is currently available or this language may not be supported.

Property Value

Type: System.String

The watermark.

Use this property for text that might be displayed as a watermark when a model value is rendered and can be edited, such as in a text box. The default value is null.

Return to top
Show:
© 2015 Microsoft