internal void SetHost(TabView host) { TabHost = host; // Tap event var tapGesture = new TapGestureRecognizer(); tapGesture.Tapped += (o, e) => { host.OpenTab(TabId); }; TabHeadCell.GestureRecognizers.Add(tapGesture); LabelTitle.FontSize = TitleFontSize ?? host.TitleFontSize; LabelTitle.TextColor = ColorSelector.Set(TitleColor, host.TitleColor); TabHeadCell.BackgroundColor = ColorSelector.Set(BackgroundColor, host.TabsBackgroundColor); }