Try our conversational search powered by Generative AI!

Class ContextMode

Specified which mode the context are rendered in.

Inheritance
System.Object
ContextMode
Namespace: EPiServer.Web
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
public sealed class ContextMode : Enum

Fields

Default

View mode.

Declaration
public const ContextMode Default
Field Value
Type Description
ContextMode

Edit

Edit mode.

Declaration
public const ContextMode Edit
Field Value
Type Description
ContextMode

Preview

Preview mode when editing.

Declaration
public const ContextMode Preview
Field Value
Type Description
ContextMode

Undefined

Context has not been defined.

Declaration
public const ContextMode Undefined
Field Value
Type Description
ContextMode

value__

Declaration
public int value__
Field Value
Type Description
System.Int32

Extension Methods