Example #1
0
        public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            GroupVisibilityOptions gvp = (GroupVisibilityOptions)value;

            return(gvp.ToString().Replace("__", ", ").Replace("_", " ") + " = " + (int)gvp);
        }
Example #2
0
        public object Convert(object value, Type targetType, object parameter, string lang)
        {
            GroupVisibilityOptions gvp = (GroupVisibilityOptions)value;

            return(gvp.ToString().Replace("__", ", ").Replace("_", " ") + " = " + (int)gvp);
        }