Class SfTabItem
Represents a single element in SfTabView control. It contains the properties to configure title and content region.
Inheritance
Implements
Namespace: Syncfusion.iOS.TabView
Assembly: Syncfusion.SfTabView.iOS.dll
Syntax
public class SfTabItem : Object, INotifyPropertyChanged
Constructors
SfTabItem()
Declaration
public SfTabItem()
Properties
BackgroundColor
Gets or sets the color for text when header item gets selected.
Declaration
public UIColor BackgroundColor { get; set; }
Property Value
| Type |
|---|
| UIKit.UIColor |
Content
Gets or sets the value for the content region in a tab.
Declaration
public UIView Content { get; set; }
Property Value
| Type |
|---|
| UIKit.UIView |
FontIconFont
Gets or sets the value for the font family and size of icon font text for a tab header.
Declaration
public UIFont FontIconFont { get; set; }
Property Value
| Type |
|---|
| UIKit.UIFont |
FontIconFontColor
Gets or sets the value for the color of font icon text for a tab header.
Declaration
public UIColor FontIconFontColor { get; set; }
Property Value
| Type |
|---|
| UIKit.UIColor |
HeaderContent
Gets or sets the value for the custom view for of a tab header.
Declaration
public UIView HeaderContent { get; set; }
Property Value
| Type |
|---|
| UIKit.UIView |
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 value for the image of tab header.
Declaration
public string ImageSource { get; set; }
Property Value
| Type |
|---|
| System.String |
IsVisible
Gets or sets a value indicating whether the text 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 UIColor SelectionColor { get; set; }
Property Value
| Type |
|---|
| UIKit.UIColor |
Title
Gets or sets the value for the text of tab header.
Declaration
public string Title { get; set; }
Property Value
| Type |
|---|
| System.String |
TitleFont
Gets or sets the value for the font family and size of text for a tab header.
Declaration
public UIFont TitleFont { get; set; }
Property Value
| Type |
|---|
| UIKit.UIFont |
TitleFontColor
Gets or sets the value for the color of text for a tab header.
Declaration
public UIColor TitleFontColor { get; set; }
Property Value
| Type |
|---|
| UIKit.UIColor |
Methods
Dispose(Boolean)
Dispose virtual method.
Declaration
protected virtual void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing | bool value. |
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
Occurs when property changed.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
| Type |
|---|
| System.ComponentModel.PropertyChangedEventHandler |