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

A value converter for collapsing or showing elements based on the bound object's type name. Does not walk the hierarchy - it is explicit to the most specific class for the value.
Inheritance: IValueConverter
Afficher le fichier Open project: garyjohnson/wpnest

Méthodes publiques

Méthode Description
Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object

Convert a value based on CLR type to a Visibility value. Does not walk the type tree, however.

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

Convert back, not supported with this value converter.

Method Details

Convert() public méthode

Convert a value based on CLR type to a Visibility value. Does not walk the type tree, however.
public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object The value instance.
targetType System.Type The target parameter.
parameter object ConverterParameter is the name of the type, /// both short and full names are checked, short name first.
culture System.Globalization.CultureInfo The culture parameter.
Résultat object

ConvertBack() public méthode

Convert back, not supported with this value converter.
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object The value instance.
targetType System.Type The target parameter.
parameter object ConverterParameter is of type Visibility.
culture System The culture parameter.
Résultat object