menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ItemToVisibilityConverter - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class ItemToVisibilityConverter

    Represents the class for converting item to visibility converter.

    Inheritance
    System.Object
    ItemToVisibilityConverter
    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.XForms.WPF.ComboBox
    Assembly: Syncfusion.SfComboBox.XForms.WPF.dll
    Syntax
    public class ItemToVisibilityConverter : IValueConverter

    Constructors

    ItemToVisibilityConverter()

    Declaration
    public ItemToVisibilityConverter()

    Methods

    Convert(Object, Type, Object, CultureInfo)

    Converts the list box item data context to selection indicator visibility. Also converts list box item ImageMemberPath to ImageSource.

    Declaration
    public object Convert(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

    ConvertBack(Object, Type, Object, CultureInfo)

    Converts the target type back to its default type.

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved