Show / Hide Table of Contents

Interface IImageProviderOption

Used to present selectable options when working with an image provider, for example to select a DAM category in the panel widget.

Namespace: AdaptiveImages.Providers
Assembly: AdaptiveImages.dll
Syntax
public interface IImageProviderOption

Properties

Capabilities

Features supported for this specific image provider option.

Declaration
ImageProviderOptionCapability Capabilities { get; }
Property Value
Type Description
ImageProviderOptionCapability

Children

Child options.

Declaration
IList<IImageProviderOption> Children { get; }
Property Value
Type Description
IList<IImageProviderOption>
Remarks

Can be used for chained options, or for "subfolders" or equivalent.

DisplayName

Name to display in the user interface.

Declaration
string? DisplayName { get; }
Property Value
Type Description
string

Id

Internal ID of the option.

Declaration
string? Id { get; }
Property Value
Type Description
string

SearchResultPageSize

Search result page size, if paging should be used for search results.

Declaration
int? SearchResultPageSize { get; }
Property Value
Type Description
int?
Remarks

If not set, max search result size will be determined by MaxSearchResultSize.

Extension Methods

ImageExtensions.GetCultureSpecificImageAttribute<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
ImageExtensions.GetImageConstraints<TParent>(TParent, string)
ImageExtensions.GetImageConstraints<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetImageRenderSettings<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetImageRenderSettings<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>, FormFactor)
ImageExtensions.GetProportionsConstraint<TParent>(TParent, string)
ImageExtensions.GetProportionsConstraint<TParent>(TParent, string, FormFactor)
ImageExtensions.GetProportionsConstraint<TParent, TProperty>(TParent, Expression<Func<TParent, TProperty>>)
ImageExtensions.GetRequiredImageAttribute<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
ImageExtensions.GetSizeConstraint<TContent, TProperty>(TContent, Expression<Func<TContent, TProperty>>)
☀
☾
In this article
Back to top
Documentation applies to: Adaptive Images 2.x
☀
☾