Partager via


ContentPage.IsMobile Property

 

Indicates whether the page is intended to be used on a mobile device.

Namespace:   Microsoft.WindowsServerSolutions.Web
Assembly:  Wssg.Web (in Wssg.Web.dll)

Syntax

public virtual bool IsMobile { get; }
public:
property bool IsMobile {
    virtual bool get();
}
Public Overridable ReadOnly Property IsMobile As Boolean

Property Value

Type: System.Boolean

true if the page is intended for a mobile device; otherwise, false.

See Also

ContentPage Class
Microsoft.WindowsServerSolutions.Web Namespace

Return to top