Search Results for

    Show / Hide Table of Contents

    Class PropertyMediaListControl<T>

    The default control for editing and displaying a PropertyMediaList

    Inheritance
    System.Object
    PropertyMediaControlBase<MediaReferenceList<T>>
    PropertyMediaListControl<T>
    Inherited Members
    PropertyMediaControlBase<MediaReferenceList<T>>.Log
    PropertyMediaControlBase<MediaReferenceList<T>>.IsEditable(MediaCacheItem)
    PropertyMediaControlBase<MediaReferenceList<T>>.GetPropertySettingsFromModel()
    PropertyMediaControlBase<MediaReferenceList<T>>.GetPropertySettingsFromView()
    PropertyMediaControlBase<MediaReferenceList<T>>.GetPublishedMediaHtml(MediaReference, PropertyMediaSettings)
    PropertyMediaControlBase<MediaReferenceList<T>>.GetPreviewHtml(MediaReference)
    PropertyMediaControlBase<MediaReferenceList<T>>.RegisterCssFile(String)
    PropertyMediaControlBase<MediaReferenceList<T>>.AddErrorValidator(String)
    PropertyMediaControlBase<MediaReferenceList<T>>.CreateDefaultControls()
    PropertyMediaControlBase<MediaReferenceList<T>>.OnPreRender(EventArgs)
    PropertyMediaControlBase<MediaReferenceList<T>>.GetExceptionErrorMessageString(Exception)
    PropertyMediaControlBase<MediaReferenceList<T>>.CreateMediaCacheItem(MediaItem, Nullable<Int32>)
    PropertyMediaControlBase<MediaReferenceList<T>>.GetThumbnailFormatWithEffect(Effect)
    PropertyMediaControlBase<MediaReferenceList<T>>.CreateOnPageEditControls()
    PropertyMediaControlBase<MediaReferenceList<T>>.Translate(String)
    PropertyMediaControlBase<MediaReferenceList<T>>.EditControlTable
    PropertyMediaControlBase<MediaReferenceList<T>>.Value
    PropertyMediaControlBase<MediaReferenceList<T>>.CurrentSettings
    PropertyMediaControlBase<MediaReferenceList<T>>.TargetWidth
    PropertyMediaControlBase<MediaReferenceList<T>>.TargetHeight
    PropertyMediaControlBase<MediaReferenceList<T>>.TargetResizeMode
    Namespace: ImageVault.EPiServer
    Assembly: ImageVault.EPiServer.dll
    Syntax
    public class PropertyMediaListControl<T> : PropertyMediaControlBase<MediaReferenceList<T>> where T : MediaReference, new()
    Type Parameters
    Name Description
    T

    Constructors

    PropertyMediaListControl()

    Declaration
    public PropertyMediaListControl()

    Properties

    OnPageEditHtml

    Gets the OnPageEditHtml of the PropertyMediaListControl

    Declaration
    public string OnPageEditHtml { get; }
    Property Value
    Type Description
    System.String

    RowLayout

    Gets the RowLayout of the PropertyMediaListControl

    Declaration
    public override TableRowLayout RowLayout { get; }
    Property Value
    Type Description
    EPiServer.Core.TableRowLayout

    ThumbnailFormatUtil

    Gets the ThumbnailFormatUtil of the PropertyMediaControl

    Declaration
    public override ThumbnailFormatUtil ThumbnailFormatUtil { get; }
    Property Value
    Type Description
    ThumbnailFormatUtil
    Overrides
    ImageVault.EPiServer.PropertyMediaControlBase<ImageVault.EPiServer.MediaReferenceList<T>>.ThumbnailFormatUtil

    Methods

    CreateDefaultControlsInner()

    Creates the view controls

    Declaration
    protected override void CreateDefaultControlsInner()
    Overrides
    ImageVault.EPiServer.PropertyMediaControlBase<ImageVault.EPiServer.MediaReferenceList<T>>.CreateDefaultControlsInner()

    DataToString()

    Returns a System.String that represents the current PropertyMediaControlBase<T>.

    Declaration
    protected override string DataToString()
    Returns
    Type Description
    System.String

    A System.String that represents the current PropertyMediaControlBase<T>.

    Overrides
    ImageVault.EPiServer.PropertyMediaControlBase<ImageVault.EPiServer.MediaReferenceList<T>>.DataToString()

    GetDefaultThumbnailUrl(String)

    Gets the URL to the default thumbnail image

    Declaration
    public string GetDefaultThumbnailUrl(string virtualPath)
    Parameters
    Type Name Description
    System.String virtualPath
    Returns
    Type Description
    System.String

    RenderThumbnails(ref MediaReferenceList<T>, String, String, DisplayChannelSetting)

    Renders the thumbnails on the supplied value

    Declaration
    public override string RenderThumbnails(ref MediaReferenceList<T> value, string virtualPath, string thumbnailCache, DisplayChannelSetting setting)
    Parameters
    Type Name Description
    MediaReferenceList<T> value

    The value to use as

    System.String virtualPath

    The virtualPath of the EPiserver plugin

    System.String thumbnailCache

    The value retrieved from the thumbnail cache. This list should always be used unless it is null or empty

    DisplayChannelSetting setting
    Returns
    Type Description
    System.String

    The new value for the thumbnailCache that should be used.

    Overrides
    ImageVault.EPiServer.PropertyMediaControlBase<ImageVault.EPiServer.MediaReferenceList<T>>.RenderThumbnails(ImageVault.EPiServer.MediaReferenceList<T>, System.String, System.String, ImageVault.EPiServer.DisplayChannelSetting)
    Remarks

    This method is called when the UI should be updated to reflect the current selected media. The value represents the value that should be rendered and the thumbnail cache represents the values for the thumbnails that should be used. If that value is missing, then use the supplied value to calculate the url:s for the thumbnails.

    StringToData(String)

    Converts the supplied string to an object

    Declaration
    protected override object StringToData(string value)
    Parameters
    Type Name Description
    System.String value

    This string comes from the postback from the edit mode

    Returns
    Type Description
    System.Object

    The object that the string represents or null if no data is entered

    Overrides
    ImageVault.EPiServer.PropertyMediaControlBase<ImageVault.EPiServer.MediaReferenceList<T>>.StringToData(System.String)
    In This Article
    Back to top (c) Meriworks 2002-2022