Xamarin.iOS

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfSegmentItem - Xamarin.iOS API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfSegmentItem

    Represents a single element in SfSegmentedControl View. It contains the properties to configure text and content region.

    Inheritance
    System.Object
    SfSegmentItem
    Implements
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.iOS.Buttons
    Assembly: Syncfusion.Buttons.iOS.dll
    Syntax
    public class SfSegmentItem : Object, INotifyPropertyChanged

    Constructors

    SfSegmentItem()

    Declaration
    public SfSegmentItem()

    Properties

    BackgroundColor

    Gets or sets the background color value for the selected segment item.

    Declaration
    public UIColor BackgroundColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    Color

    Gets or sets the value for the color of text for a segment item.

    Declaration
    public UIColor Color { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    Font

    Gets or sets the value for the font representation of text for a segment item.

    Declaration
    public UIFont Font { get; set; }
    Property Value
    Type Description
    UIKit.UIFont

    FontColor

    Gets or sets the value for the color of text for a segment item.

    Declaration
    public UIColor FontColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    FontIconFont

    Gets or sets the value for the font family of icon font text for a segment item.

    Declaration
    public UIFont FontIconFont { get; set; }
    Property Value
    Type Description
    UIKit.UIFont

    FontIconFontColor

    Gets or sets the value for the color of font icon text for a segment item.

    Declaration
    public UIColor FontIconFontColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    IconFont

    Gets or sets the value for the font icon text for a Segment item.

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

    IsEnabled

    Gets or sets a value indicating whether the value to choose whether the segment item is enabled or not.

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

    SelectionBackgroundColor

    Gets or sets the background color value for the selected segment item.

    Declaration
    public UIColor SelectionBackgroundColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    SelectionTextColor

    Gets or sets the color value for the selection text of segment item.

    Declaration
    public UIColor SelectionTextColor { get; set; }
    Property Value
    Type Description
    UIKit.UIColor

    Text

    Gets or sets the value for the text of Segment item.

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

    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

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

    Implements

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