DisplayModeProvider 类

定义

此类型/成员支持.NET Framework基础结构,不应直接从代码使用。表示提供程序的显示模式。

public sealed class DisplayModeProvider
type DisplayModeProvider = class
Public NotInheritable Class DisplayModeProvider
继承
DisplayModeProvider

字段

DefaultDisplayModeId

此类型/成员支持.NET Framework基础结构,不应直接从代码使用。定义默认显示模式标识符。

MobileDisplayModeId

此类型/成员支持.NET Framework基础结构,不应直接从代码使用。定义移动显示模式标识符。

属性

Instance

此类型/成员支持.NET Framework基础结构,不应直接从代码使用。获取 的DisplayModeProvider实例。

Modes

此类型/成员支持.NET Framework基础结构,不应直接从代码使用。获取 的模式DisplayModeProvider列表。

RequireConsistentDisplayMode

此类型/成员支持.NET Framework基础结构,不应直接从代码使用。获取或设置一个值,该值指示网页是否需要一致的显示模式。

方法

GetAvailableDisplayModesForContext(HttpContextBase, IDisplayMode)

此类型/成员支持.NET Framework基础结构,不应直接从代码使用。获取上下文基础的可用显示模式的列表。

GetDisplayInfoForVirtualPath(String, HttpContextBase, Func<String,Boolean>, IDisplayMode)

此类型/成员支持.NET Framework基础结构,不应直接从代码使用。DisplayInfo获取虚拟路径的 。

适用于