Share via


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
Public propertyStatic member 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.
Public property 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.
Public property 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
Public method Equals (Inherited from Object.)
Public method 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.
Public method 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.
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member 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.
Public fieldStatic member 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.

See Also

Reference

System.Web.WebPages Namespace