WPF

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class VisibilityNegationConverter

    Show / Hide Table of Contents

    Class VisibilityNegationConverter

    Represents a converter that converts bool to reverse visibility.

    Inheritance
    System.Object
    VisibilityNegationConverter
    Implements
    System.Windows.Data.IValueConverter
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Shared
    Assembly: Syncfusion.Shared.Wpf.dll
    Syntax
    public class VisibilityNegationConverter : IValueConverter
    Remarks

    Returns Visibility.Collapsed if value is True. Returns Visibility.Visible if value is False.

    Constructors

    VisibilityNegationConverter()

    Declaration
    public VisibilityNegationConverter()

    Methods

    Convert(Object, Type, Object, CultureInfo)

    Converts bool to visibility.

    Declaration
    public object Convert(object value, Type targetType, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object value

    input value

    System.Type targetType

    target type

    System.Object parameter

    input parameter

    System.Globalization.CultureInfo culture

    input language

    Returns
    Type Description
    System.Object

    Returns Visibility.Collapsed if value is True. Returns Visibility.Visible if value is False.

    ConvertBack(Object, Type, Object, CultureInfo)

    Declaration
    public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture)
    Parameters
    Type Name Description
    System.Object value
    System.Type targetType
    System.Object parameter
    System.Globalization.CultureInfo culture
    Returns
    Type Description
    System.Object

    Implements

    System.Windows.Data.IValueConverter
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved