ILayout2.initialize method

Applies to Windows and Windows Phone

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 supported client

Windows 8.1 [Windows Store apps only]

Minimum supported server

Windows Server 2012 R2 [Windows Store apps only]

Minimum supported phone

Windows Phone 8.1

Namespace

WinJS.UI

See also

ILayout2

 

 

Show:
© 2014 Microsoft