ShortDisplayName Property

ModelMetadata.ShortDisplayName Property

 

Gets or sets a short display name.

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

Public Overridable Property ShortDisplayName As String

Property Value

Type: System.String

The short display name.

The short display name can be used in a tooltip or in other display contexts such as the title of tabular list views where the complete display name might not fit. For example, in MVC, this name is used in tables where the columns are not wide enough to display the complete field name. If this field is null, DisplayName should be used.

Return to top
Show:
© 2016 Microsoft