menu

Xamarin.Forms

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

    Show / Hide Table of Contents

    Class SfComboBoxItem

    The SfComboBox class represents an item that can be added as a child.

    Inheritance
    System.Object
    SfComboBoxItem
    Namespace: Syncfusion.XForms.ComboBox
    Assembly: Syncfusion.SfComboBox.XForms.dll
    Syntax
    public class SfComboBoxItem : View

    Constructors

    SfComboBoxItem(String, String)

    Initializes a new instance of the SfComboBox class, which represents an item that can be added as a child.

    Declaration
    public SfComboBoxItem(string textName, string imageName)
    Parameters
    Type Name Description
    System.String textName
    System.String imageName

    Fields

    ImageNameProperty

    Identifies the ImageName bindable property. This property can be used to change the image in SfComboBox.

    Declaration
    public static readonly BindableProperty ImageNameProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    TextNameProperty

    Identifies the TextName bindable property. This property can be used to change the name of the text in SfComboBox.

    Declaration
    public static readonly BindableProperty TextNameProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty

    Properties

    ImageName

    Gets or sets the value of ImageName. This property can be used to change the image in SfComboBox.

    Declaration
    public string ImageName { get; set; }
    Property Value
    Type Description
    System.String

    The Default value is string.Empty.

    TextName

    Gets or sets the value of TextName. This property can be used to change the name of the text in SfComboBox.

    Declaration
    public string TextName { get; set; }
    Property Value
    Type Description
    System.String

    The name of the text.

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