Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

34 lines (28 sloc) 996 Bytes
// MvxLanguageBinderConverter.cs
// (c) Copyright Cirrious Ltd.
// MvvmCross is licensed using Microsoft Public License (Ms-PL)
// Contributions and inspirations noted in and license.txt
// Project Lead - Stuart Lodge, @slodge,
using System;
using System.Globalization;
using Cirrious.MvvmCross.Converters;
using Cirrious.MvvmCross.Localization.Interfaces;
namespace Cirrious.MvvmCross.Localization.Converters
public class MvxLanguageBinderConverter
: MvxBaseValueConverter
#region Implementation of IValueConverter
public override object Convert(object value, Type targetType, object parameter, CultureInfo culture)
var binder = value as IMvxLanguageBinder;
if (binder == null)
return null;
if (parameter == null)
return null;
return binder.GetText(parameter.ToString());
Jump to Line
Something went wrong with that request. Please try again.