Class PropertyMediaSettings
Defines the settings for the PropertyMedia
Inheritance
System.Object
PropertyMediaSettings
Namespace: ImageVault.EPiServer
Assembly: ImageVault.EPiServer.dll
Syntax
public class PropertyMediaSettings : PropertySettingsBase
Constructors
PropertyMediaSettings()
Default constructor
Declaration
public PropertyMediaSettings()
PropertyMediaSettings(PropertyMediaSettings)
Copy constructor
Declaration
public PropertyMediaSettings(PropertyMediaSettings p)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyMediaSettings | p |
PropertyMediaSettings(Int32, Int32, ResizeMode)
Creates a PropertyMediaSettings instance
Declaration
public PropertyMediaSettings(int width, int height = 0, ResizeMode resizeMode)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | width | |
| System.Int32 | height | |
| ResizeMode | resizeMode |
Fields
Empty
Empty property settings object.
Declaration
public static readonly PropertyMediaSettings Empty
Field Value
| Type | Description |
|---|---|
| PropertyMediaSettings |
Properties
DisplayChannelSettings
Settings for the display channels
Declaration
public List<DisplayChannelSetting> DisplayChannelSettings { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.List<DisplayChannelSetting> |
Height
Get/Sets the Height of the PropertyMediaSettings
Declaration
public int Height { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
ResizeMode
Get/Sets the ResizeMode of the PropertyMediaSettings
Declaration
public ResizeMode ResizeMode { get; set; }
Property Value
| Type | Description |
|---|---|
| ResizeMode |
Width
Get/Sets the Width of the PropertyMediaSettings
Declaration
public int Width { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
Methods
Equals(PropertyMediaSettings)
Compares the instance with the supplied one and returns true if deemed equal
Declaration
protected bool Equals(PropertyMediaSettings other)
Parameters
| Type | Name | Description |
|---|---|---|
| PropertyMediaSettings | other |
Returns
| Type | Description |
|---|---|
| System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Object | obj |
Returns
| Type | Description |
|---|---|
| System.Boolean |
GetDefaultValues()
Gets the default settings
Declaration
public override IPropertySettings GetDefaultValues()
Returns
| Type | Description |
|---|---|
| EPiServer.Core.PropertySettings.IPropertySettings |
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| System.Int32 |