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)

virtual property String^ ShortDisplayName {
	String^ get ();
	void set (String^ 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 nullptr, DisplayName should be used.

© 2014 Microsoft