SaaS CMS has officially launched! Learn more now.

Class EditorHintAttribute

Works the same way as the System.ComponentModel.DataAnnotations.UIHintAttribute attribute with the difference that this attribute only changes the selection of editors. This works on class level compared to System.ComponentModel.DataAnnotations.UIHintAttribute that works on property level.

Inheritance
System.Object
EditorHintAttribute
Namespace: EPiServer.Framework.DataAnnotations
Assembly: EPiServer.Framework.dll
Version: 12.0.3
Syntax
public sealed class EditorHintAttribute : Attribute

Constructors

EditorHintAttribute(String)

Creates a new instance of System.ComponentModel.DataAnnotations.EditableAttribute

Declaration
public EditorHintAttribute(string hint)
Parameters
Type Name Description
System.String hint

The name of the editor hint

Properties

Hint

The editor hint specified by this attribute instance

Declaration
public string Hint { get; }
Property Value
Type Description
System.String

Extension Methods