public void FreeVirtualizingPanel()
        {
            if (this.virtualizingPanel != null)
            {
                this.virtualizingPanel.CurrentPageChanged -= this.PanelCurrentPageChanged;
            }

            this.virtualizingPanel = null;
        }
        public void FreeVirtualizingPanel()
        {
            if (this.virtualizingPanel != null)
            {
                this.virtualizingPanel.CurrentPageChanged -= this.PanelCurrentPageChanged;
            }

            this.virtualizingPanel = null;
        }
        public void SetVirtualizingPanel(PivotVirtualizingPanel virtualizingPanel)
        {
            if (this.virtualizingPanel != virtualizingPanel)
            {
                if (this.virtualizingPanel != null)
                {
                    this.virtualizingPanel.CurrentPageChanged -= this.PanelCurrentPageChanged;
                }

                this.virtualizingPanel = virtualizingPanel;
                if (this.virtualizingPanel != null)
                {
                    this.virtualizingPanel.CurrentPageChanged += this.PanelCurrentPageChanged;
                }
            }
        }
        public void SetVirtualizingPanel(PivotVirtualizingPanel virtualizingPanel)
        {
            if (this.virtualizingPanel != virtualizingPanel)
            {
                if (this.virtualizingPanel != null)
                {
                    this.virtualizingPanel.CurrentPageChanged -= this.PanelCurrentPageChanged;
                }

                this.virtualizingPanel = virtualizingPanel;
                if (this.virtualizingPanel != null)
                {
                    this.virtualizingPanel.CurrentPageChanged += this.PanelCurrentPageChanged;
                }
            }
        }
 public PageChangeListener(PivotVirtualizingPanel owner)
 {
     this.owner = owner;
 }
 public PageChangeListener(PivotVirtualizingPanel owner)
 {
     this.owner = owner;
 }