Edit

Share via


Style.IsTemplated Property

Definition

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.

Applies to

See also