AcManager.UserControls.RaceGridEditorColumn.InnerModeToLabelConverter.Convert C# (CSharp) Method

Convert() public method

public Convert ( object value, Type targetType, object parameter, CultureInfo culture ) : object
value object
targetType System.Type
parameter object
culture System.Globalization.CultureInfo
return object
            public object Convert(object value, Type targetType, object parameter, CultureInfo culture) {
                return value as bool? == true ? AppStrings.RaceGrid_Candidates : AppStrings.RaceGrid_Opponents;
            }
RaceGridEditorColumn.InnerModeToLabelConverter