C# Class Microsoft.Silverlight.Testing.Client.DataTemplateSelector

A specialized data template selector.
Inheritance: IValueConverter
Show file Open project: garyjohnson/wpnest

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Convert a value to a data template.

ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object

No 2-way databinding support.

DataTemplateSelector ( ) : System

Initializes a new instance of the DataTemplateSelector type.

Method Details

Convert() public method

Convert a value to a data template.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value.
targetType System.Type The target parameter.
parameter object ConverterParameter value.
culture System.Globalization.CultureInfo The culture parameter.
return object

ConvertBack() public method

No 2-way databinding support.
public ConvertBack ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value.
targetType System.Type The target parameter.
parameter object ConverterParameter value.
culture System.Globalization.CultureInfo The culture parameter.
return object

DataTemplateSelector() public method

Initializes a new instance of the DataTemplateSelector type.
public DataTemplateSelector ( ) : System
return System