Skip to content

Instantly share code, notes, and snippets.

@Char0394
Created December 11, 2020 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Char0394/bd92246e62de691553a6bb337c23800f to your computer and use it in GitHub Desktop.
Save Char0394/bd92246e62de691553a6bb337c23800f to your computer and use it in GitHub Desktop.
using System;
using System.Globalization;
using Xamarin.Forms;
namespace MultiBinding.Converters
{
public class TextToUpperConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
{
return value.ToString().ToUpper();
}
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
{
return null;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment