Share via


ILayout2.initialize method

Sets the rendering site and specifies whether the layout supports groups. This method is called by the ListView to initialize the layout.

Syntax

iLayout2.initialize(site, groupsEnabled);

Parameters

  • site
    Type: ILayoutSite2**

    The rendering site for the layout.

  • groupsEnabled
    Type: Boolean

    Set to true if this layout supports groups; set to false if it does not.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ILayout2