converter function

WinJS.Binding.converter function

[This documentation is preliminary and is subject to change.]

Applies to: Metro style apps only

Creates a default binding initializer for binding between a source property and a destination property with a provided converter function that is executed on the value of the source property.

Syntax

var function = WinJS.Binding.converter(convert);

Parameters

convert

Type: Function

The conversion that operates over the result of the source property /// to produce a value that is set to the destination property.

Return value

Type: Object

The binding initializer.

Requirements

Minimum supported client

Windows 8 Consumer Preview

Minimum supported server

Windows Server 8 Beta

Namespace

WinJS.Binding

Library

Base.js

 

 

Build date: 2/10/2012

Ajouts de la communauté

AJOUTER
Afficher:
© 2017 Microsoft