ESRI.ArcGIS.Mobile.Client
CompositeValueConverter Class
Members  See Also  Send Feedback
ESRI.ArcGIS.Mobile.Client.ValueConverters Namespace : CompositeValueConverter Class

CompositeValueConverter is a (virtual) value converter that aggregates multiple value converters together into a single converter. This allows multiple value converters to be chained together yet allowing binding in XAML by providing a single value converter. Value converters are added to the Converters property collection. Converters are evaluation based on the order in which they were added to the collection. When the Convert method is called, the first converter in the collection is called first and the last converter in the collection is called last. When the ConvertBack method is called, the reverse occurs. NOTE: All value converters added to the collection MUST be decorated with the [ValueConversion] attribute, otherwise an exception will be thrown. CompositeValueConverter may be declared directly in XAML (thanks to the ContentProperty attribute, below) as follows:

Syntax

Visual Basic (Declaration) 
<ContentPropertyAttribute("Converters")>
Public Class CompositeValueConverter 
C# 
[ContentPropertyAttribute("Converters")]
public class CompositeValueConverter 

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.Mobile.Client.ValueConverters.CompositeValueConverter

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also