MobileControl.IsTemplated Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets a value indicating whether a MobileControl object has an active template set. This API is obsolete. For information about how to develop ASP.NET mobile applications, see the Web site.

Namespace:   System.Web.UI.MobileControls
Assembly:  System.Web.Mobile (in System.Web.Mobile.dll)

public virtual bool IsTemplated { get; }

Property Value

Type: System.Boolean

true if the control has an active template set; otherwise, false.

To be considered templated, an object must have a <DeviceSpecific> element with a <Choice> element successfully evaluated for the target device. The selected choice must have templates defined.

.NET Framework
Available since 1.1

MobileControl Class
System.Web.UI.MobileControls Namespace
Introduction to the DeviceSpecific Control
Creating Custom Mobile Controls
Inside the ASP.NET Mobile Controls

Return to top