Table of Contents

Interface IPreviewFeature

Namespace
Kentico.Content.Web.Mvc
Assembly
Kentico.Content.Web.Mvc.dll

Represents a feature that provides information about preview for the current request.

public interface IPreviewFeature
Extension Methods

Properties

Enabled

Gets a value indicating whether preview is enabled.

bool Enabled { get; }

Property Value

bool

LanguageName

Gets the culture name in the format languagecode2-country/regioncode2.

string LanguageName { get; }

Property Value

string

The culture name in the format languagecode2-country/regioncode2, if preview information with culture is available; otherwise, null.