Spread ASP.NET 17
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / DocumentMode Enumeration
Example Example


In This Topic
    DocumentMode Enumeration
    In This Topic
    Determines how the Spread control renders content for a specific browser mode.
    Syntax
    'Declaration
     
    
    Public Enum DocumentMode 
       Inherits System.Enum
    'Usage
     
    
    Dim instance As DocumentMode
    public enum DocumentMode : System.Enum 
    Members
    MemberDescription
    IE10Indicates the Spread will render content for Internet Explorer 10
    IE11Indicates the Spread will render content for Internet Explorer 11
    IE7Indicates the Spread will render content for Internet Explorer 7
    IE8Indicates the Spread will render content for Internet Explorer 8
    IE9Indicates the Spread will render content for Internet Explorer 9
    NotSetDefault value. The Spread control automatically detects the mode that the browser is using so it can render content properly.
    Remarks
    DocumentMode should only be used when the page explicitly uses META tags to specify the browser mode in Internet Explorer. For example, the following META tag specifies the browser mode for Internet Explorer 9: <meta http-equiv="x-ua-compatible" content="IE=9">. In this case, Spread cannot detect the browser mode, and it must be specified using the DocumentMode property in code.
    Example
    This example uses the DocumentMode enumeration.
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             FarPoint.Web.Spread.DocumentMode

    See Also