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
Datei anzeigen Open project: Esri/arcgis-portalviewer-dotnet

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, string language ) : object
ConvertBack ( object value, Type targetType, object parameter, string language ) : object

Private Methods

Method Description
ConvertValue ( object value, Type targetType, bool invert = false ) : object

Method Details

Convert() public method

public Convert ( object value, Type targetType, object parameter, string language ) : object
value object
targetType System.Type
parameter object
language string
return object

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, string language ) : object
value object
targetType System.Type
parameter object
language string
return object