skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI UI for Xamarin

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Release History
  • Migrate to .NET MAUI
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Forums
    • Videos
    • Blogs
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadSegmentedControl

Inheritance
System.Object
RadView
RadSegmentedControl
Inherited Members
RadView.OnNativeControlUnloaded()
RadView.IsDefaultValue(String)
RadView.IsOperational
RadView.NativeControlLoaded
RadView.NativeControlUnloaded
Namespace: Telerik.XamarinForms.Input
Assembly: Telerik.XamarinForms.Input.dll

Syntax

public class RadSegmentedControl : RadView, INotifyNativeControlLoaded

Constructors

RadSegmentedControl()

Declaration
public RadSegmentedControl()

Fields

DisabledSegmentTextColorProperty

Identifies the DisabledSegmentTextColor property.

Declaration
public static readonly BindableProperty DisabledSegmentTextColorProperty
Field Value
Xamarin.Forms.BindableProperty

ItemsSourceProperty

Identifies the ItemsSource property.

Declaration
public static readonly BindableProperty ItemsSourceProperty
Field Value
Xamarin.Forms.BindableProperty

SegmentBackgroundColorProperty

Identifies the SegmentBackgroundColor property.

Declaration
public static readonly BindableProperty SegmentBackgroundColorProperty
Field Value
Xamarin.Forms.BindableProperty

SegmentTextColorProperty

Identifies the SegmentTextColor property.

Declaration
public static readonly BindableProperty SegmentTextColorProperty
Field Value
Xamarin.Forms.BindableProperty

SelectedIndexProperty

Identifies the SelectedIndex property.

Declaration
public static readonly BindableProperty SelectedIndexProperty
Field Value
Xamarin.Forms.BindableProperty

SelectedSegmentBackgroundColorProperty

Identifies the SelectedSegmentBackgroundColor property.

Declaration
public static readonly BindableProperty SelectedSegmentBackgroundColorProperty
Field Value
Xamarin.Forms.BindableProperty

SelectedSegmentTextColorProperty

Identifies the SelectedSegmentTextColor property.

Declaration
public static readonly BindableProperty SelectedSegmentTextColorProperty
Field Value
Xamarin.Forms.BindableProperty

Properties

DisabledSegmentTextColor

Gets or sets the Text Color of the disabled segment.

Declaration
public Color DisabledSegmentTextColor { get; set; }
Property Value
Xamarin.Forms.Color

ItemsSource

Gets or sets the ItemsSource of the control.

Declaration
public IEnumerable ItemsSource { get; set; }
Property Value
System.Collections.IEnumerable

SegmentBackgroundColor

Gets or sets the background of the segment.

Declaration
public Color SegmentBackgroundColor { get; set; }
Property Value
Xamarin.Forms.Color

SegmentTextColor

Gets or sets the Text Color of the segment.

Declaration
public Color SegmentTextColor { get; set; }
Property Value
Xamarin.Forms.Color

SelectedIndex

Gets or sets the index of the item to be selected.

Declaration
public int SelectedIndex { get; set; }
Property Value
System.Int32

SelectedSegmentBackgroundColor

Gets or sets the background of the selected segment.

Declaration
public Color SelectedSegmentBackgroundColor { get; set; }
Property Value
Xamarin.Forms.Color

SelectedSegmentTextColor

Gets or sets the Text Color of the selected segment.

Declaration
public Color SelectedSegmentTextColor { get; set; }
Property Value
Xamarin.Forms.Color

Methods

IsSegmentEnabled(Int32)

Declaration
public bool IsSegmentEnabled(int index)
Parameters
System.Int32 index

Returns
System.Boolean

OnNativeControlLoaded()

Declaration
protected override void OnNativeControlLoaded()
Overrides
RadView.OnNativeControlLoaded()

SetSegmentEnabled(Int32, Boolean)

Declaration
public void SetSegmentEnabled(int index, bool isEnabled)
Parameters
System.Int32 index

System.Boolean isEnabled

Events

SelectionChanged

Declaration
public event EventHandler<ValueChangedEventArgs<int>> SelectionChanged
Event Type
System.EventHandler<ValueChangedEventArgs<System.Int32>>

Sample Applications
  • Telerik Tagit
  • iOS Demo App
  • Android Demo App
Support Resources
  • iOS Wrappers
  • Android Wrappers
  • Xamarin.Forms SDK Examples
Community
  • Forums
  • Blogs
  • Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.