Table of Contents

Class AssetItem

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

Item representing an asset.

public sealed class AssetItem
Inheritance
object
AssetItem
Extension Methods

Properties

Actions

Asset actions.

public IList<AssetItemAction> Actions { get; set; }

Property Value

IList<AssetItemAction>

Description

Asset description.

public string Description { get; set; }

Property Value

string

Dimensions

Asset dimensions for asset representing an image.

public AssetDimensions Dimensions { get; set; }

Property Value

AssetDimensions

ErrorMessage

Asset error message.

public string ErrorMessage { get; set; }

Property Value

string

FolderPath

Folder path where asset is located.

public string FolderPath { get; set; }

Property Value

string

HasError

Indicates if asset should display error message.

public bool HasError { get; }

Property Value

bool

Identifier

Asset identifier.

public Guid Identifier { get; set; }

Property Value

Guid

IsImage

True if asset is image, otherwise false.

public bool IsImage { get; set; }

Property Value

bool

LibraryIdentifier

Media library identifier.

public int LibraryIdentifier { get; set; }

Property Value

int

Name

Name of the asset including an extension.

public string Name { get; set; }

Property Value

string

RouteParameter

Represents a value which should be used in URL route to identify the asset.

public string RouteParameter { get; set; }

Property Value

string

Size

Asset size.

public long Size { get; set; }

Property Value

long

Title

Asset title.

public string Title { get; set; }

Property Value

string

UrlPath

Asset URL path.

public UrlPath UrlPath { get; set; }

Property Value

UrlPath