Search Results for

    Show / Hide Table of Contents

    Class ImageCropperPropertyEditor

    Represents an image cropper property editor.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.PropertyEditors
    Assembly: cs.temp.dll.dll
    Syntax
    public class ImageCropperPropertyEditor : DataEditor

    Constructors

    ImageCropperPropertyEditor(IDataValueEditorFactory, ILoggerFactory, MediaFileManager, IOptions<ContentSettings>, IDataTypeService, IIOHelper, UploadAutoFillProperties, IContentService)

    Initializes a new instance of the ImageCropperPropertyEditor class.

    Declaration
    public ImageCropperPropertyEditor(IDataValueEditorFactory dataValueEditorFactory, ILoggerFactory loggerFactory, MediaFileManager mediaFileManager, IOptions<ContentSettings> contentSettings, IDataTypeService dataTypeService, IIOHelper ioHelper, UploadAutoFillProperties uploadAutoFillProperties, IContentService contentService)
    Parameters
    Type Name Description
    IDataValueEditorFactory dataValueEditorFactory
    ILoggerFactory loggerFactory
    MediaFileManager mediaFileManager
    IOptions<ContentSettings> contentSettings
    IDataTypeService dataTypeService
    IIOHelper ioHelper
    UploadAutoFillProperties uploadAutoFillProperties
    IContentService contentService

    Methods

    CreateConfigurationEditor()

    Creates the corresponding preValue editor.

    Declaration
    protected override IConfigurationEditor CreateConfigurationEditor()
    Returns
    Type Description
    IConfigurationEditor

    The corresponding preValue editor.

    CreateValueEditor()

    Creates the corresponding property value editor.

    Declaration
    protected override IDataValueEditor CreateValueEditor()
    Returns
    Type Description
    IDataValueEditor

    The corresponding property value editor.

    Handle(ContentCopiedNotification)

    After a content has been copied, also copy uploaded files.

    Declaration
    public void Handle(ContentCopiedNotification notification)
    Parameters
    Type Name Description
    ContentCopiedNotification notification

    Handle(ContentDeletedNotification)

    Declaration
    public void Handle(ContentDeletedNotification notification)
    Parameters
    Type Name Description
    ContentDeletedNotification notification

    Handle(MediaDeletedNotification)

    Declaration
    public void Handle(MediaDeletedNotification notification)
    Parameters
    Type Name Description
    MediaDeletedNotification notification

    Handle(MediaSavingNotification)

    Declaration
    public void Handle(MediaSavingNotification notification)
    Parameters
    Type Name Description
    MediaSavingNotification notification

    Handle(MemberDeletedNotification)

    Declaration
    public void Handle(MemberDeletedNotification notification)
    Parameters
    Type Name Description
    MemberDeletedNotification notification

    TryGetMediaPath(String, Object, out String)

    Declaration
    public bool TryGetMediaPath(string propertyEditorAlias, object value, out string mediaPath)
    Parameters
    Type Name Description
    System.String propertyEditorAlias
    System.Object value
    System.String mediaPath
    Returns
    Type Description
    System.Boolean
    In This Article
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX