Search Results for

    Show / Hide Table of Contents

    Class MediaWithCrops

    Represents a media item with local crops.

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.Models
    Assembly: cs.temp.dll.dll
    Syntax
    public class MediaWithCrops : PublishedContentWrapped

    Constructors

    MediaWithCrops(IPublishedContent, IPublishedValueFallback, ImageCropperValue)

    Initializes a new instance of the MediaWithCrops class.

    Declaration
    public MediaWithCrops(IPublishedContent content, IPublishedValueFallback publishedValueFallback, ImageCropperValue localCrops)
    Parameters
    Type Name Description
    IPublishedContent content

    The content.

    IPublishedValueFallback publishedValueFallback

    The published value fallback.

    ImageCropperValue localCrops

    The local crops.

    Properties

    Content

    Gets the content/media item.

    Declaration
    public IPublishedContent Content { get; }
    Property Value
    Type Description
    IPublishedContent

    The content/media item.

    LocalCrops

    Gets the local crops.

    Declaration
    public ImageCropperValue LocalCrops { get; }
    Property Value
    Type Description
    ImageCropperValue

    The local crops.

    In This Article
    • Constructors
      • MediaWithCrops(IPublishedContent, IPublishedValueFallback, ImageCropperValue)
    • Properties
      • Content
      • LocalCrops
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX