MobileControl.IsTemplated 属性
定义
获取一个值,该值指示 MobileControl 对象是否有活动的模板集。Gets a value indicating whether a MobileControl object has an active template set. 此 API 已废弃不用。This API is obsolete. 若要了解如何开发 ASP.NET 移动应用,请参阅 Mobile Apps & Sites with ASP.NET (ASP.NET 移动应用和网站)。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
属性值
如果控件具有活动的模板集,则为 true;否则为 false。true if the control has an active template set; otherwise, false.
- 属性
注解
若要将设置为模板化,对象必须具有 <DeviceSpecific> 元素,且已成功为目标设备计算 <Choice> 元素。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.