Style.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 Style 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:
property bool IsTemplated { bool get(); };
[System.ComponentModel.Browsable(false)]
public bool IsTemplated { get; }
[<System.ComponentModel.Browsable(false)>]
member this.IsTemplated : bool
Public ReadOnly Property IsTemplated As Boolean
Property Value
true
if the style 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.