Пример #1
0
        public object Convert(object _value, Type _targetType, object _parameter, CultureInfo _culture)
        {
            bool __invert = ConverterHelper.IsParameterSet(nameof(__invert), _parameter);

            if (__invert)
            {
                return(_value == null ? Visibility.Visible : Visibility.Collapsed);
            }

            return(_value != null ? Visibility.Visible : Visibility.Collapsed);
        }
 private static string GetSeparator(object _commandParameter)
 => ConverterHelper.IsParameterSet("ListSeparator", _commandParameter) ? null : Environment.NewLine;