menu

UWP

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

    Show / Hide Table of Contents

    Class BoolVisibilityConverter

    Represents th converter to convert data type of bool to visibility and vice versa.

    Inheritance
    System.Object
    BoolVisibilityConverter
    Implements
    Windows.UI.Xaml.Data.IValueConverter
    Namespace: Syncfusion.UI.Xaml.PivotGrid
    Assembly: Syncfusion.SfPivotGrid.UWP.dll
    Syntax
    public class BoolVisibilityConverter : Object, IValueConverter

    Constructors

    BoolVisibilityConverter()

    Declaration
    public BoolVisibilityConverter()

    Methods

    Convert(Object, Type, Object, String)

    Modifies the source data before passing it to the target for display in the UI.

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

    The source data being passed to the target.

    System.Type targetType

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

    System.Object parameter

    An optional parameter to be used in the converter logic.

    System.String culture

    The language of the conversion.

    Returns
    Type Description
    System.Object

    The bool value or visibility value to be passed to the target dependency property.

    ConvertBack(Object, Type, Object, String)

    Modifies the target data before passing it to the source object. This method is called only in TwoWay bindings.

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

    The target data being passed to the source.

    System.Type targetType

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

    System.Object parameter

    An optional parameter to be used in the converter logic.

    System.String culture

    The language of the conversion.

    Returns
    Type Description
    System.Object

    The bool value or visibility value to be passed to the target dependency property.

    Implements

    Windows.UI.Xaml.Data.IValueConverter

    Extension Methods

    DateTimeExtension.ToDateTime(Object)
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved