Xamarin.Android

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfSegmentItem - Xamarin.Android 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.Android.Buttons
    Assembly: Syncfusion.Buttons.Android.dll
    Syntax
    public class SfSegmentItem : Object, INotifyPropertyChanged

    Constructors

    SfSegmentItem()

    Declaration
    public SfSegmentItem()

    Properties

    BackgroundColor

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

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

    FontColor

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

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

    FontIconFontColor

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

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

    FontIconFontSize

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

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

    FontIconTypeface

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

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

    FontSize

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

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

    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 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 Color SelectionBackgroundColor { get; set; }
    Property Value
    Type Description
    Android.Graphics.Color

    SelectionTextColor

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

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

    Text

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

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

    Typeface

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

    Declaration
    public Typeface Typeface { get; set; }
    Property Value
    Type Description
    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

    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