MobileControl.IsTemplated Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
virtual property bool IsTemplated { bool get(); };
[System.ComponentModel.Bindable(false)]
[System.ComponentModel.Browsable(false)]
public virtual bool IsTemplated { get; }
[<System.ComponentModel.Bindable(false)>]
[<System.ComponentModel.Browsable(false)>]
member this.IsTemplated : bool
Public Overridable ReadOnly Property IsTemplated As Boolean
Property Value
true
if the control has an active template set; otherwise, false
.
- Attributes
Remarks
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.