ArcGIS API for WPF - Library Reference
Convert Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.ValueConverters Namespace > DictionaryConverter Class : Convert Method

value
The source data being passed to the target.
targetType
The System.Type of data expected by the target dependency property.
parameter
An optional parameter to be used in the converter logic.
culture
The culture of the conversion.

Note: This API is now obsolete. Not necessary for use in Silverlight 4+ or WPF. Please bind to dictionaries directly via keys.

Modifies the source data before passing it to the target for display in the UI.

Syntax

Visual Basic (Declaration) 
Public Function Convert( _
   ByVal value As Object, _
   ByVal targetType As Type, _
   ByVal parameter As Object, _
   ByVal culture As CultureInfo _
) As Object
C# 
public object Convert( 
   object value,
   Type targetType,
   object parameter,
   CultureInfo culture
)

Parameters

value
The source data being passed to the target.
targetType
The System.Type of data expected by the target dependency property.
parameter
An optional parameter to be used in the converter logic.
culture
The culture of the conversion.

Return Value

The value to be passed to the target dependency property.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.