menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BoolNegationConverter - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BoolNegationConverter

    Value converter that applies NOT operator to a System.Boolean value.

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

    Constructors

    BoolNegationConverter()

    Declaration
    public BoolNegationConverter()

    Methods

    Convert(Object, Type, Object, CultureInfo)

    Convert a boolean value to its negation.

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

    The System.Boolean value to negate.

    System.Type targetType

    The type of the target property, as a type reference.

    System.Object parameter

    Optional parameter. Not used.

    System.Globalization.CultureInfo culture
    Returns
    Type Description
    System.Object

    The value to be passed to the target dependency property.

    ConvertBack(Object, Type, Object, CultureInfo)

    Convert back a boolean value to its negation.

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

    The System.Boolean value to negate.

    System.Type targetType

    The type of the target property, as a type reference.

    System.Object parameter

    Optional parameter. Not used.

    System.Globalization.CultureInfo culture
    Returns
    Type Description
    System.Object

    The value to be passed to the target dependency property.

    Implements

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