SuperMap.WindowsPhone.Mapping.Map.RaiseViewBoundsChanged C# (CSharp) Method

RaiseViewBoundsChanged() private method

private RaiseViewBoundsChanged ( ) : void
return void
        private void RaiseViewBoundsChanged()
        {
            if (this.mapResizeThrottler != null)
            {
                this.mapResizeThrottler.Cancel();
            }
            EventHandler<ViewBoundsEventArgs> viewBoundsChanged = this.ViewBoundsChanged;
            if (viewBoundsChanged != null)
            {
                Rectangle2D viewBounds = this.ViewBounds;
                if (!Rectangle2D.IsNullOrEmpty(viewBounds) && this.previousViewBounds != viewBounds)
                {
                    viewBoundsChanged(this, new ViewBoundsEventArgs(this.previousViewBounds, viewBounds));
                    this.raisePropertyChanged("ViewBounds");
                }
                this.previousViewBounds = viewBounds;
                this.cacheViewBounds = viewBounds;
            }

        }