Table of Contents

Class ContentItemAssetPreviewData

Namespace
Kentico.Xperience.Admin.Base.Components
Assembly
Kentico.Xperience.Admin.Base.dll

Represents preview data for ContentItemPanelItem and ContentItemSelectorItem.

public sealed class ContentItemAssetPreviewData
Inheritance
object
ContentItemAssetPreviewData
Extension Methods

Properties

AssetUrl

Asset field URL.

public string AssetUrl { get; init; }

Property Value

string

IsEligibleForDisplay

Indicates if the preview data is eligible to be displayed in the selectors.

public bool IsEligibleForDisplay { get; init; }

Property Value

bool

Remarks

If the asset is not available in the language that is part of current language live site fallback chain it is not eligible to be displayed to the user and content type icon is used instead.

IsImage

Indicates if the asset served by the AssetUrl is image.

public bool IsImage { get; init; }

Property Value

bool