Xamarin.iOS Documentation | ComponentOne
Controls / TreeMap / Features / Theming
In This Topic
    Theming
    In This Topic

    The TreeMap control allows you to customize its appearance by using the Palette property. This property accepts value from the Palette enumeration provided by the ChartBase class.

    The following image shows how a TreeMap control appears after applying a theme using the Palette property.

    Themes in TreeMap 

    The following code examples demonstrate how to set Palette property in C#. These examples use the sample created in the Quick Start section.

    Theming.cs
    Copy Code
    treeMap.Palette = Palette.Zen;