Class VisibilityNegationConverter
Represents a converter that converts bool to reverse visibility.
Inheritance
System.Object
VisibilityNegationConverter
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 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 |
---|
System.Object |
Implements
System.Windows.Data.IValueConverter