Class DisplayOption
A Display option can be used to register different display options on a content inside a content area
Inheritance
System.Object
DisplayOption
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: 9.12.2Syntax
public class DisplayOption
Constructors
DisplayOption()
Declaration
public DisplayOption()
Properties
Description
Description for the display option
Declaration
public virtual string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If a language resource key is specified it will be automatically translated when sent to the client.
IconClass
Css class for the icon that is used in the display option selector
Declaration
public virtual string IconClass { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Id
Unique id for this option
Declaration
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Name
The name of the display option
Declaration
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
If a language resource key is specified it will be automatically translated when sent to the client.
Tag
The rendering tag to apply when the option has been selected
Declaration
public virtual string Tag { get; set; }
Property Value
Type | Description |
---|---|
System.String |