Back to Devexpress

LabelSettings Class

aspnetmvc-devexpress-dot-web-dot-mvc-18f7fd00.md

latest2.3 KB
Original Source

LabelSettings Class

Contains the Label extension settings.

Namespace : DevExpress.Web.Mvc

Assembly : DevExpress.Web.Mvc5.v25.2.dll

NuGet Package : DevExpress.Web.Mvc5

Declaration

csharp
public class LabelSettings :
    EditorSettings
vb
Public Class LabelSettings
    Inherits EditorSettings

Remarks

To declare the Label in a View, invoke the ExtensionsFactory.Label helper method. This method returns the Label extension that is implemented by the LabelExtension class.

To configure the Label extension, pass the LabelSettings object to the ExtensionsFactory.Label helper method as a parameter. The LabelSettings object contains all the Label extension settings.

Refer to the Label Overview topic to learn how to add the Label extension to your project.

To access the Label specific settings, refer to the LabelSettings.Properties property.

Inheritance

Object SettingsBase EditorSettings LabelSettings

See Also

LabelSettings Members

Label

LabelExtension

DevExpress.Web.Mvc Namespace