void ReleaseDesignerOutlets() { if (viewPager != null) { viewPager.Dispose(); viewPager = null; } }
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(); }
void ReleaseDesignerOutlets() { if (myPageScroller != null) { myPageScroller.Dispose(); myPageScroller = null; } if (pageControlDots != null) { pageControlDots.Dispose(); pageControlDots = null; } }
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; } }