예제 #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);
        }
예제 #2
0
        public object Convert(object value, Type targetType, object parameter, string lang)
        {
            GroupVisibilityOptions gvp = (GroupVisibilityOptions)value;

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