次の方法で共有


Template.isDeclarativeControlContainer property

Determines whether the Template contains declarative controls that must be processed separately. This property is always true. The controls that belong to a Template object's children are instantiated when a Template instance is rendered.

Syntax

var isContainer = template.isDeclarativeControlContainer;

Property value

Type: Boolean

true if WinJS controls created declaratively within the Template will be processed by the Template itself. This property is always true.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Binding

See also

Template