This is a migrated thread and some comments may be shown as answers.

How to set different colors to segments

1 Answer 56 Views
SegmentedControl
This is a migrated thread and some comments may be shown as answers.
Waqas
Top achievements
Rank 1
Waqas asked on 18 Oct 2017, 07:47 AM
Is is possible to set different colors to segments?

1 Answer, 1 is accepted

Sort by
0
Stefan Nenchev
Telerik team
answered on 20 Oct 2017, 08:30 AM
Hello, Waqas,

The functionality is not available for the SegmentedControl. However, a good alternative is the RadTabView, where you have full control of the headers and you can set different ControlTemplates. You can find more information on how to achieve the behavior in the RadTabView at the following article - TabViewHeaderItem. There is also an actual example in the SDK Samples Browser application(the solution can be found in your local Telerik UI for Xamarin installation, in the Examples/XamarinForms folder). It is labeled TabViewHeaderCustomTemplateExample.

I hope the information provided was useful. If you have any further questions or concerns, do not hesitate to contact us.

Have a great rest of the week.

Regards,
Stefan Nenchev
Progress Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
SegmentedControl
Asked by
Waqas
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Share this question
or