menu

UWP

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

    Show / Hide Table of Contents

    Class BooleanToVisibilityConverter

    Represents the converter that converts Boolean values to and from visibility enumeration values

    Inheritance
    System.Object
    BooleanToVisibilityConverter
    Implements
    Windows.UI.Xaml.Data.IValueConverter
    Namespace: Syncfusion.UI.Xaml.Controls.SfRibbon
    Assembly: Syncfusion.SfRibbon.UWP.dll
    Syntax
    [ClassReference(IsReviewed = false, ShouldInclude = false)]
    public class BooleanToVisibilityConverter : Object, IValueConverter

    Constructors

    BooleanToVisibilityConverter()

    Declaration
    public BooleanToVisibilityConverter()

    Methods

    Convert(Object, Type, Object, String)

    Converts boolean variable to visibility

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

    object value

    System.Type targetType

    type of target object

    System.Object parameter

    object parameter

    System.String language

    string language

    Returns
    Type Description
    System.Object

    returns object

    ConvertBack(Object, Type, Object, String)

    Converts back into default type

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

    object value

    System.Type targetType

    type of target object

    System.Object parameter

    object parameter

    System.String language

    string language

    Returns
    Type Description
    System.Object

    returns object

    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