Esempio n. 1
0
        // Token: 0x060056AD RID: 22189 RVA: 0x0017FD04 File Offset: 0x0017DF04
        private static void OnTabStripPlacementPropertyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            TabControl     tabControl = (TabControl)d;
            ItemCollection items      = tabControl.Items;

            for (int i = 0; i < items.Count; i++)
            {
                TabItem tabItem = tabControl.ItemContainerGenerator.ContainerFromIndex(i) as TabItem;
                if (tabItem != null)
                {
                    tabItem.CoerceValue(TabItem.TabStripPlacementProperty);
                }
            }
        }