Show / Hide Table of Contents

Class AdaptiveImageEditorDescriptor

Registers editor for adaptive images

Inheritance
object
EditorDescriptor
AdaptiveImageEditorDescriptor
Implements
IMetadataExtender
IMetadataHandler
Inherited Members
EditorDescriptor.SetEditorConfiguration(ExtendedMetadata)
EditorDescriptor.SetOverlayConfiguration(ExtendedMetadata)
EditorDescriptor.AllowedTypes
EditorDescriptor.AllowedTypesFormatSuffix
EditorDescriptor.DndSourcePropertyName
EditorDescriptor.DndTargetPropertyName
EditorDescriptor.ClientEditingClass
EditorDescriptor.ClientEditingPackage
EditorDescriptor.LayoutClass
EditorDescriptor.DefaultValue
EditorDescriptor.EditorConfiguration
EditorDescriptor.OverlayConfiguration
EditorDescriptor.SelectionFactoryType
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: AdaptiveImages.Shell
Assembly: AdaptiveImages.dll
Syntax
[EditorDescriptorRegistration(TargetType = typeof(AdaptiveImage), EditorDescriptorBehavior = EditorDescriptorBehavior.OverrideDefault)]
public class AdaptiveImageEditorDescriptor : EditorDescriptor, IMetadataExtender, IMetadataHandler

Constructors

AdaptiveImageEditorDescriptor(IContentLoader, IAddonSettings)

Creates a new editor descriptor for intended for AdaptiveImage properties

Declaration
public AdaptiveImageEditorDescriptor(IContentLoader contentLoader, IAddonSettings addonSettings)
Parameters
Type Name Description
IContentLoader contentLoader
IAddonSettings addonSettings

Methods

ModifyMetadata(ExtendedMetadata, IEnumerable<Attribute>)

Configure editor for adaptive image properties and pass along any validation settings

Declaration
public override void ModifyMetadata(ExtendedMetadata metadata, IEnumerable<Attribute> attributes)
Parameters
Type Name Description
ExtendedMetadata metadata
IEnumerable<Attribute> attributes
Overrides
EditorDescriptor.ModifyMetadata(ExtendedMetadata, IEnumerable<Attribute>)

Implements

EPiServer.Shell.ObjectEditing.IMetadataExtender
EPiServer.Shell.ObjectEditing.IMetadataHandler

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
☀
☾