Xuni User Guide > Xuni Controls > FlexPie > Features > Themes |
Enhance the appearance of the control by using pre-defined themes. The Palette
property can be used to specify the theme to be applied on the control.
Note: Remove the Palette property from the code to revert to the default theme. |
The image below shows how the FlexPie appears when the Palette
property is set to Dark.
The following code example demonstrates how to set a theme in C#. The example uses the sample created in the Quick Start section.
C# |
Copy Code |
---|---|
chart.Palette = Xuni.Xamarin.ChartCore.Palettes.Dark; |