コード例 #1
0
 void ReleaseDesignerOutlets()
 {
     if (viewPager != null)
     {
         viewPager.Dispose();
         viewPager = null;
     }
 }
コード例 #2
0
        public static void SetControl(this UIKit.UIPageControl pageControl, PageControl control)
        {
            pageControl.SetBaseControl(control);

            if (control == null)
            {
                return;
            }

            pageControl.PageIndicatorTintColor        = control.UnSelectedPageColor.ToNative();
            pageControl.CurrentPageIndicatorTintColor = control.SelectedPageColor.ToNative();
        }
コード例 #3
0
        void ReleaseDesignerOutlets()
        {
            if (myPageScroller != null)
            {
                myPageScroller.Dispose();
                myPageScroller = null;
            }

            if (pageControlDots != null)
            {
                pageControlDots.Dispose();
                pageControlDots = null;
            }
        }
コード例 #4
0
        void ReleaseDesignerOutlets()
        {
            if (BoxArrowLeft != null)
            {
                BoxArrowLeft.Dispose();
                BoxArrowLeft = null;
            }

            if (BoxArrowRight != null)
            {
                BoxArrowRight.Dispose();
                BoxArrowRight = null;
            }

            if (containerView != null)
            {
                containerView.Dispose();
                containerView = null;
            }

            if (imageArrowLeft != null)
            {
                imageArrowLeft.Dispose();
                imageArrowLeft = null;
            }

            if (imageArrowRight != null)
            {
                imageArrowRight.Dispose();
                imageArrowRight = null;
            }

            if (imgFullScreen != null)
            {
                imgFullScreen.Dispose();
                imgFullScreen = null;
            }

            if (pageControlBottom != null)
            {
                pageControlBottom.Dispose();
                pageControlBottom = null;
            }

            if (pageControlTop != null)
            {
                pageControlTop.Dispose();
                pageControlTop = null;
            }
        }