Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class UIHint

Defines constant strings for the System.ComponentModel.DataAnnotations.UIHintAttribute.

Inheritance
System.Object
UIHint
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public static class UIHint

Fields

AssetsFolder

A reference to a assets folder.

Declaration
public const string AssetsFolder = "assetsfolder"
Field Value
Type Description
System.String

Block

A reference to a block.

Declaration
public const string Block = "block"
Field Value
Type Description
System.String

BlockFolder

A reference to a block folder.

Declaration
[Obsolete("Use AssetsFolder instead", false)]
public const string BlockFolder = "assetsfolder"
Field Value
Type Description
System.String

Document

Displays a file.

Declaration
[Obsolete("Use MediaFile instead", false)]
public const string Document = "mediafile"
Field Value
Type Description
System.String

Image

Displays an image.

Declaration
public const string Image = "image"
Field Value
Type Description
System.String

Legacy

Use legacy editor.

Declaration
public const string Legacy = "legacy"
Field Value
Type Description
System.String

LongString

Edits a string inline in on-page-edit mode and with text area in form mode

Declaration
[Obsolete("Use Textarea instead", false)]
public const string LongString = "textarea"
Field Value
Type Description
System.String

MediaFile

Displays a media file of any type.

Declaration
public const string MediaFile = "mediafile"
Field Value
Type Description
System.String

MediaFolder

A reference to a media folder.

Declaration
[Obsolete("Use AssetsFolder instead", false)]
public const string MediaFolder = "assetsfolder"
Field Value
Type Description
System.String

PreviewableText

Displays a string read only, requiring user interaction to make writable.

Declaration
public const string PreviewableText = "previewabletext"
Field Value
Type Description
System.String

Textarea

Creates a text area to edit a string.

Declaration
public const string Textarea = "textarea"
Field Value
Type Description
System.String

Video

Displays an video.

Declaration
public const string Video = "video"
Field Value
Type Description
System.String