MobileControl.IsTemplated Property


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 Mobile Apps & Sites with ASP.NET.

 virtual property bool IsTemplated { bool get(); };
public virtual bool IsTemplated { get; }
member this.IsTemplated : bool
Public Overridable ReadOnly Property IsTemplated As Boolean

Property Value


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.

Applies to

See also