Share via


ILayout.setSite method

This API is no longer supported. Starting with the Windows Library for JavaScript 2.0 Preview, use the ILayout2 interface. Sets the layout site for the layout.

Syntax

iLayout.setSite(site);

Parameters

  • site
    Type: ILayoutSite**

    The layout site for the layout. You can use this object to query the hosting ListView for info you might need to lay out items.

Return value

This method does not return a value.

Requirements

Minimum WinJS version

WinJS 3.0

Namespace

WinJS.UI

See also

ILayout