C# Class ArcGISPortalViewer.Common.BiConditionalConverter

The Bi-Conditional Converter is designed to have two possible outcomes produced by the evaluation of the proposed conversion value. If the condition evaluates to'true' then the left hand value is returned otherwise the right hand value is returned. In addition a "reverse" keyword can be used in the converter parameter property to invert the condition in which case an evaluation that results in 'true' will return the right hand value and 'false' will return the left hand value.
Inheritance: IValueConverter
Afficher le fichier Open project: Esri/arcgis-portalviewer-dotnet

Méthodes publiques

Méthode Description
Convert ( object value, Type targetType, object parameter, string language ) : object
ConvertBack ( object value, Type targetType, object parameter, string language ) : object

Private Methods

Méthode Description
ConvertValue ( object value, Type targetType, bool invert = false ) : object

Method Details

Convert() public méthode

public Convert ( object value, Type targetType, object parameter, string language ) : object
value object
targetType System.Type
parameter object
language string
Résultat object

ConvertBack() public méthode

public ConvertBack ( object value, Type targetType, object parameter, string language ) : object
value object
targetType System.Type
parameter object
language string
Résultat object