QueryCollection.setStyle method

Sets the specified style property for all the elements in the collection.

Syntax

var queryCollection = queryCollection.setStyle(name, value);

Parameters

  • name
    Type: string

    The name of the style property.

  • value
    Type: object

    The value for the property.

Return value

Type: QueryCollection

This QueryCollection object.

Requirements

Minimum WinJS version

WinJS 1.0

Namespace

WinJS.Utilities

See also

QueryCollection