MetaColumn.Prompt Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets a value that can be used as a watermark in the UI that is bound to data in the column.

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

public virtual string Prompt { get; }

Property Value

Type: System.String

A value that can be used as a watermark in the UI that is bound to data in the column.

A null or empty string can be returned.

This property is set by the DisplayAttribute attribute in the column's definition in the meta class for the data entity.

.NET Framework
Available since 4.0
Return to top
Show: