Search Results for

    Show / Hide Table of Contents

    Class PropertyMediaControl<T>

    Defines the control responsible for displaying the PropertyMedia

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

    Constructors

    PropertyMediaControl()

    Declaration
    public PropertyMediaControl()

    Properties

    ThumbnailFormatUtil

    Gets the ThumbnailFormatUtil of the PropertyMediaControl

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

    Methods

    CreateDefaultControlsInner()

    Creates the view controls

    Declaration
    protected override void CreateDefaultControlsInner()
    Overrides
    ImageVault.EPiServer.PropertyMediaControlBase<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<T>.DataToString()

    RenderThumbnails(ref T, String, String, DisplayChannelSetting)

    Renders the thumbnails on the supplied value

    Declaration
    public override string RenderThumbnails(ref T value, string virtualPath, string thumbnailCache, DisplayChannelSetting displayChannelSetting)
    Parameters
    Type Name Description
    T value

    The value to use as

    System.String virtualPath

    The virtualPath of the EPiServer plug-in

    System.String thumbnailCache

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

    DisplayChannelSetting displayChannelSetting
    Returns
    Type Description
    System.String

    The new value for the thumbnailCache that should be used.

    Overrides
    ImageVault.EPiServer.PropertyMediaControlBase<T>.RenderThumbnails(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 post back 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<T>.StringToData(System.String)
    In This Article
    Back to top (c) Meriworks 2002-2022