Ejemplo n.º 1
0
        public new void InsertAt(int index, XF.Item child)
        {
            base.InsertAt(index, child);
#if __IOS__
            view.InsertSubview((child as Base).view, index);
#elif WINDOWS_UWP
#else
            if (index == 0)
            {
                view.AddSubview((child as Base).view);
            }
            var previousIndex = index - 1;
            var previousView  = view.Subviews[previousIndex];
            view.AddSubview((child as Base).view, AppKit.NSWindowOrderingMode.Above, previousView);
#endif
        }