Set TextColor for Disabled RadButton
You can set text color when the button is enabled/disabled using a Style or Custom Renderer.
Using Style
and the Button definition:
Custom Renderer Approach
You can create custom renderers for the different platforms and set the color directly on the native elements. This article will guide you on how to achieve the behavior on the different platforms.
1. As a first step, in order to use a custom renderer for the RadButton, you should create a custom class that inherits from RadButton. Eventually, you can target your custom element within the custom renderer.
Here is the custom class:
And how it is declared within your page:
2. Once you have added the 'custom' control to your application, you can create the following custom renderers for the different platforms in order to alter the TextColor when the button is disabled:
iOS Renderer
Android Renderer
UWP Renderer
Figure 1 shows the appearance of the disabled RadButton once the custom renderers have been added to your application.