Cursor Color
iOS
You can change cursor color of the TextBox or any other component which includes a Text Field like this:
this.textBox1.cursorColor = Color.RED;
Android
In Android, changing cursorColor property will not work. You can change cursor color by using the following documentation:
Changing Styles of Native Components{
"__applicationAndroidStyle": {
"colorPrimary": "#00A1F1" // your cursor color
}
}
Please take note that this value will only affect the published application. This change will not be applied on the Smartface Emulator.
caution
Changing colorPrimary value will also change the following colors of the Published Application:
- Alert Texts
- Dialog Text colors
- Cursor Color of TextBoxes
- BottomTabBar and TabBar text colors (configurable)
For more information about how colors work in Android, refer to the material design guide:
https://material.io/design/color/the-color-system.html#color-usage-and-palettes