AniDBmini.CanExpandConverter.Convert C# (CSharp) Метод

Convert() публичный Метод

public Convert ( object o, Type type, object parameter, CultureInfo culture ) : object
o object
type System.Type
parameter object
culture System.Globalization.CultureInfo
Результат object
        public object Convert(object o, Type type, object parameter, CultureInfo culture)
        {
            if ((bool)o)
                return Visibility.Visible;
            else
                return Visibility.Hidden;
        }
CanExpandConverter