private void HandleSelected(object obj)
        {
            //Raise event selected and pass color to TabHeader
            var index  = TabItemIndex;
            var colors = ColorItems.GetValue(index).ToString();
            EventHandler <string> handler = SelectedItemEvent;

            handler?.Invoke(this, colors);

            //get property element in list header
            TabItemCollection tabItems = (obj as SfTabView).Items;

            foreach (var item in tabItems)
            {
                int selectedIndex = tabItems.IndexOf(item);

                if (selectedIndex == index)
                {
                    var converter = new ColorTypeConverter();
                    ((item.HeaderContent as StackLayout).Children[0] as PancakeView).Margin  = new Thickness(0, 5, 0, 0);
                    ((item.HeaderContent as StackLayout).Children[0] as PancakeView).Padding = new Thickness(0, 0, 0, -1);
                }
                else
                {
                    ((item.HeaderContent as StackLayout).Children[0] as PancakeView).Margin  = new Thickness(0, 10, 0, 0);
                    ((item.HeaderContent as StackLayout).Children[0] as PancakeView).Padding = new Thickness(0, 0, 0, -6);
                }
            }
        }