Share via


DisplayModeProvider.RequireConsistentDisplayMode Property

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.

Namespace:  System.Web.WebPages
Assembly:  System.Web.WebPages (in System.Web.WebPages.dll)

Syntax

'Declaration
Public Property RequireConsistentDisplayMode As Boolean 
    Get 
    Set
'Usage
Dim instance As DisplayModeProvider 
Dim value As Boolean 

value = instance.RequireConsistentDisplayMode

instance.RequireConsistentDisplayMode = value
public bool RequireConsistentDisplayMode { get; set; }
public:
property bool RequireConsistentDisplayMode {
    bool get ();
    void set (bool value);
}
member RequireConsistentDisplayMode : bool with get, set
function get RequireConsistentDisplayMode () : boolean 
function set RequireConsistentDisplayMode (value : boolean)

Property Value

Type: System.Boolean
true if the Web page requires consistent display mode; otherwise, false.

See Also

Reference

DisplayModeProvider Class

System.Web.WebPages Namespace