Export (0) Print
Expand All

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 
Dim instance As ModelMetadata 
Dim value As String 

value = instance.ShortDisplayName

instance.ShortDisplayName = value

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 Nothing, DisplayName should be used.

© 2015 Microsoft