예제 #1
0
        public static SuperTabs GetTabs(UIElement element)
        {
            var collection = (SuperTabs)element.GetValue(TabsProperty);

            if (collection == null)
            {
                collection = new SuperTabs();
                element.SetValue(TabsProperty, collection);
            }
            return(collection);
        }
예제 #2
0
 public static void SetTabs(UIElement element, SuperTabs value)
 {
     element.SetValue(TabsProperty, value);
 }