HttpCapabilitiesBase.IsColor Property

 

Gets a value indicating whether the browser has a color display.

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

abstract IsColor : bool with get
override IsColor : bool with get

Property Value

Type: System.Boolean

true if the browser has a color display; otherwise, false. The default is false.

The following code example shows whether the client's browser supports color. The returned value could be used to determine the appropriate image to send to the browser.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: