Class DisplayModeChannel
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. A Display
Implements
Inherited Members
Namespace: EPiServer.Web.Internal
Assembly: EPiServer.Cms.AspNet.dll
Version: 11.20.7Syntax
public class DisplayModeChannel : DisplayChannel, IDisplayMode
Constructors
DisplayModeChannel(IDisplayMode)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the Display
Declaration
public DisplayModeChannel(IDisplayMode displayMode)
Parameters
Type | Name | Description |
---|---|---|
System. |
displayMode | The display mode. |
DisplayModeChannel(IDisplayMode, String)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Initializes a new instance of the Display
Declaration
public DisplayModeChannel(IDisplayMode displayMode, string resolutionId)
Parameters
Type | Name | Description |
---|---|---|
System. |
displayMode | The display mode. |
System. |
resolutionId | The resolution id. |
Properties
ChannelName
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the name of the channel.
Declaration
public override string ChannelName { get; }
Property Value
Type | Description |
---|---|
System. |
The name of the channel. |
Overrides
Remarks
When a Display
DisplayMode
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Exposes the wrapped System.
Declaration
public virtual IDisplayMode DisplayMode { get; }
Property Value
Type | Description |
---|---|
System. |
The display mode. |
ResolutionId
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Gets the resolution.
Declaration
public override string ResolutionId { get; }
Property Value
Type | Description |
---|---|
System. |
Overrides
Remarks
Default value is null meaning channel has no preferred resolution.
Methods
IsActive(HttpContextBase)
Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Determines whether the specified channel is active given the specified context.
Declaration
public override bool IsActive(HttpContextBase context)
Parameters
Type | Name | Description |
---|---|---|
System. |
context | The context. |
Returns
Type | Description |
---|---|
System. |
|
Overrides
Remarks
The call will be delegated to the wrapped System.