alexa
menu

Xamarin.Android

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class SfTabItem

    Represents a single element in SfTabView control. It contains the properties to configure title and content region.

    Inheritance
    System.Object
    SfTabItem
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.Android.TabView
    Assembly: Syncfusion.SfTabView.Android.dll
    Syntax
    public class SfTabItem : Object, INotifyPropertyChanged

    Constructors

    SfTabItem()

    Declaration
    public SfTabItem()

    Properties

    Content

    Gets or sets the value for the content region in a tab.

    Declaration
    public View Content { get; set; }
    Property Value
    Type
    Android.Views.View

    FontIconFontColor

    Gets or sets the value for the color of font icon text for a tab header.

    Declaration
    public Color FontIconFontColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    FontIconFontSize

    Gets or sets the value for the font size of icon font text for a tab header.

    Declaration
    public double FontIconFontSize { get; set; }
    Property Value
    Type
    System.Double

    FontIconStyle

    Gets or sets the value for the font family of icon font text for a tab header.

    Declaration
    public Typeface FontIconStyle { get; set; }
    Property Value
    Type
    Android.Graphics.Typeface

    HeaderContent

    Gets or sets the value for the custom view for of a tab header.

    Declaration
    public View HeaderContent { get; set; }
    Property Value
    Type
    Android.Views.View

    IconFont

    Gets or sets the value for the icon font text for a tab header.

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

    ImageSource

    Gets or sets the image source for image view in the tab header.

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

    IsVisible

    Gets or sets a value indicating whether for the selection color of tab header.

    Declaration
    public bool IsVisible { get; set; }
    Property Value
    Type
    System.Boolean

    SelectionColor

    Gets or sets the value for the selection color of tab header.

    Declaration
    public Color SelectionColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    Title

    Gets or sets the value for the text of tab header.

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

    TitleFontColor

    Gets or sets the value for the color of text for a tab header.

    Declaration
    public Color TitleFontColor { get; set; }
    Property Value
    Type
    Android.Graphics.Color

    TitleFontSize

    Gets or sets the value for the font size of text for a tab header.

    Declaration
    public double TitleFontSize { get; set; }
    Property Value
    Type
    System.Double

    TitleFontStyle

    Gets or sets the value for the font family of text for a tab header.

    Declaration
    public Typeface TitleFontStyle { get; set; }
    Property Value
    Type
    Android.Graphics.Typeface

    Methods

    RaiseOnPropertyChanged(String)

    This method is called by the Set accessor of each property. The CallerMemberName attribute that is applied to the optional propertyName parameter causes the property name of the caller to be substituted as an argument.

    Declaration
    protected virtual void RaiseOnPropertyChanged(string propertyName = null)
    Parameters
    Type Name Description
    System.String propertyName

    String type.

    Events

    PropertyChanged

    The property changed event.

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

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