Table of Contents

Class ContentItemAssetFormComponentBaseProperties

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

Represents base properties of a component for editing the ContentItemAsset data type.

public abstract class ContentItemAssetFormComponentBaseProperties : FormComponentProperties, IFormComponentProperties, IAutomaticImageFormatConversionConfiguration
Inheritance
object
ContentItemAssetFormComponentBaseProperties
Implements
Derived
Inherited Members
Extension Methods

Constructors

ContentItemAssetFormComponentBaseProperties()

protected ContentItemAssetFormComponentBaseProperties()

Properties

HeightLimit

Maximum Image Height: If an image exceeds this specified limit, it will be resized to fit within the maximum height while preserving its aspect ratio, utilizing the 'Automatic Image Format Conversion' feature.

[NumberInputComponent]
[HiddenVisibility]
public int? HeightLimit { get; set; }

Property Value

int?

InputImageExtensions

File extensions that are processed by the 'Automatic image format conversion' pipeline.

[GeneralSelectorComponent(typeof(ImageFormatConversionExtensionSelectorDataProvider))]
[HiddenVisibility]
public IEnumerable<string> InputImageExtensions { get; set; }

Property Value

IEnumerable<string>

IsFormatConversionEnabled

Indicates whether the 'Automatic image format conversion' feature is enabled.

[CheckBoxComponent]
[HiddenVisibility]
public bool IsFormatConversionEnabled { get; set; }

Property Value

bool

OutputImageExtension

Image extension that is produced by the 'Automatic image format conversion' pipeline.

[SingleGeneralSelectorComponent(typeof(ImageFormatConversionExtensionSelectorDataProvider))]
[HiddenVisibility]
public string OutputImageExtension { get; set; }

Property Value

string

OutputQuality

Quality of the image that is produced by the 'Automatic image format conversion' pipeline.

[SingleGeneralSelectorComponent(typeof(ImageFormatConversionQualitySelectorDataProvider))]
[HiddenVisibility]
public string OutputQuality { get; set; }

Property Value

string

WidthLimit

Maximum Image Width: If an image exceeds this specified limit, it will be resized to fit within the maximum width while preserving its aspect ratio, utilizing the 'Automatic Image Format Conversion' feature.

[NumberInputComponent]
[HiddenVisibility]
public int? WidthLimit { get; set; }

Property Value

int?