MobileControl.IsTemplated Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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 www.asp.net/mobile Web site.

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

[BrowsableAttribute(false)]
[BindableAttribute(false)]
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
Show: