DisplayModeProvider Class
This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Represents the modes of display for the provider.
Inheritance Hierarchy
System.Object
System.Web.WebPages.DisplayModeProvider
Namespace: System.Web.WebPages
Assembly: System.Web.WebPages (in System.Web.WebPages.dll)
Syntax
'Declaration
Public NotInheritable Class DisplayModeProvider
'Usage
Dim instance As DisplayModeProvider
public sealed class DisplayModeProvider
public ref class DisplayModeProvider sealed
[<SealedAttribute>]
type DisplayModeProvider = class end
public final class DisplayModeProvider
The DisplayModeProvider type exposes the following members.
Properties
Name | Description | |
---|---|---|
Instance | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the instance of the DisplayModeProvider. | |
Modes | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a list of modes of the DisplayModeProvider. | |
RequireConsistentDisplayMode | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets or sets a value that indicates whether the Web page requires consistent display mode. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetAvailableDisplayModesForContext | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets a list of the available display modes for the context base. | |
GetDisplayInfoForVirtualPath | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Gets the DisplayInfo for the virtual path. | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Fields
Name | Description | |
---|---|---|
DefaultDisplayModeId | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the default display mode identifier. | |
MobileDisplayModeId | This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.Defines the mobile display mode identifier. |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.