Class SfTabItem
Represents a single element in SfTabItem control. It contains the properties to configure title and content region.
Inheritance
Namespace: Syncfusion.XForms.TabView
Assembly: Syncfusion.SfTabView.XForms.dll
Syntax
public class SfTabItem : View, IThemeElement
Constructors
SfTabItem()
Initializes a new instance of the SfTabItem class.
Declaration
public SfTabItem()
Fields
ContentProperty
Identifies the Content bindable property. This property can be used to change the content in a tab header.
Declaration
public static readonly BindableProperty ContentProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontIconFontAttributesProperty
Identifies the FontIconFontAttributes bindable property. This property can be used to change the font attribute of font icon in a tab header.
Declaration
public static readonly BindableProperty FontIconFontAttributesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontIconFontColorProperty
Identifies the FontIconFontColor bindable property. This property can be used to change the font color of font icon in SfTabItem.
Declaration
public static readonly BindableProperty FontIconFontColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontIconFontFamilyProperty
Identifies the FontIconFontFamily bindable property. This property can be used to change the font color of text in a tab header.
Declaration
public static readonly BindableProperty FontIconFontFamilyProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
FontIconFontSizeProperty
Identifies the FontIconFontSize bindable property. This property can be used to change the font size of font icon in SfTabItem.
Declaration
public static readonly BindableProperty FontIconFontSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
HeaderContentProperty
Identifies the HeaderContent bindable property. This property can be used to change the header content in a tab header.
Declaration
public static readonly BindableProperty HeaderContentProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IconFontProperty
Identifies the IconFont bindable property. This property can be used to change the font icon in a tab header.
Declaration
public static readonly BindableProperty IconFontProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
ImageSourceProperty
Identifies the ImageSource bindable property. This property can be used to change the ImageSource in a tab header.
Declaration
public static readonly BindableProperty ImageSourceProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsSelectedProperty
Identifies the IsSelected bindable property.This is read only property. We have only get the tab item was selected or unselected.
Declaration
public static readonly BindableProperty IsSelectedProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
IsVisibleProperty
Identifies the IsVisible bindable property. This property can be used to change the visibility of the tabitem.
Declaration
public static readonly BindableProperty IsVisibleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
SelectionColorProperty
Identifies the SelectionColor bindable property. This property can be used to change the selection color of SfTabItem.
Declaration
public static readonly BindableProperty SelectionColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TitleFontAttributesProperty
Identifies the TitleFontAttributes bindable property. This property can be used to change the font attributes of text in a tab header.
Declaration
public static readonly BindableProperty TitleFontAttributesProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TitleFontColorProperty
Identifies the TitleFontColor bindable property. This property can be used to change the font color of text in SfTabItem.
Declaration
public static readonly BindableProperty TitleFontColorProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TitleFontFamilyProperty
Identifies the TitleFontFamily bindable property. This property can be used to change the font family of text in a tab header.
Declaration
public static readonly BindableProperty TitleFontFamilyProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TitleFontSizeProperty
Identifies the TitleFontSize bindable property. This property can be used to change the font size of text in a tab header.
Declaration
public static readonly BindableProperty TitleFontSizeProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
TitleProperty
Identifies the Title bindable property. This property can be used to change the title in a tab header.
Declaration
public static readonly BindableProperty TitleProperty
Field Value
Type |
---|
Xamarin.Forms.BindableProperty |
Properties
Content
Gets or sets the value of the Content. This property can be used to change the content in a tab header.
Declaration
public View Content { get; set; }
Property Value
Type |
---|
Xamarin.Forms.View |
FontIconFontAttributes
Gets or sets the value of the FontIconFontAttributes. This property can be used to change the font attribute of font icon in a tab header.
Declaration
public FontAttributes FontIconFontAttributes { get; set; }
Property Value
Type |
---|
Xamarin.Forms.FontAttributes |
Remarks
It is not applicable for most of the font icons.
FontIconFontColor
Gets or sets the value of the FontIconFontColor. This property can be used to change the font color of font icon in SfTabItem.
Declaration
public Color FontIconFontColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
FontIconFontFamily
Gets or sets the value FontIconFontFamily. This property can be used to change the font family of font icon in a tab header.
Declaration
public string FontIconFontFamily { get; set; }
Property Value
Type |
---|
System.String |
FontIconFontSize
Gets or sets the value of the FontIconFontSize. This property can be used to change the font color of text in a tab header.
Declaration
public double FontIconFontSize { get; set; }
Property Value
Type |
---|
System.Double |
HeaderContent
Gets or sets the value of the HeaderContent. This property can be used to change the header content in a tab header.
Declaration
public View HeaderContent { get; set; }
Property Value
Type |
---|
Xamarin.Forms.View |
IconFont
Gets or sets the value of the IconFont. This property can be used to change the font icon in a tab header.
Declaration
public string IconFont { get; set; }
Property Value
Type |
---|
System.String |
ImageSource
Gets or sets the value of the ImageSource. This property can be used to change the ImageSource in a tab header.
Declaration
public ImageSource ImageSource { get; set; }
Property Value
Type |
---|
Xamarin.Forms.ImageSource |
IsSelected
Gets or internal sets a value that indicates whether the tab item was selected or not.
Declaration
public bool IsSelected { get; }
Property Value
Type |
---|
System.Boolean |
IsVisible
Gets or sets a value indicating whether gets or sets the value for the IsVisible. This property can be used to change the visibility of the Tabitem.
Declaration
public bool IsVisible { get; set; }
Property Value
Type |
---|
System.Boolean |
SelectionColor
Gets or sets the value for the selection color of tab header. This property can be used to change the selection color of SfTabItem.
Declaration
public Color SelectionColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
Title
Gets or sets the value of the Title. This property can be used to change the Title in a tab header.
Declaration
public string Title { get; set; }
Property Value
Type |
---|
System.String |
TitleFontAttributes
Gets or sets the value of the TitleFontAttributes. This property can be used to change the font attributes of text in a tab header.
Declaration
public FontAttributes TitleFontAttributes { get; set; }
Property Value
Type |
---|
Xamarin.Forms.FontAttributes |
TitleFontColor
Gets or sets the value of the TitleFontColor. This property can be used to change the font color of text in SfTabItem.
Declaration
public Color TitleFontColor { get; set; }
Property Value
Type |
---|
Xamarin.Forms.Color |
TitleFontFamily
Gets or sets the value for the font family of text for a tab header. This property can be used to change the font family of text in a tab header.
Declaration
public string TitleFontFamily { get; set; }
Property Value
Type |
---|
System.String |
TitleFontSize
Gets or sets the value of the TitleFontSize. This property can be used to change the font size of text in a tab header.
Declaration
public double TitleFontSize { get; set; }
Property Value
Type |
---|
System.Double |