// Token: 0x06005D93 RID: 23955 RVA: 0x001A5704 File Offset: 0x001A3904
        private bool ShouldReflowContent()
        {
            bool result = false;

            if (DocumentViewerBase.GetIsMasterPage(this))
            {
                DocumentViewerBase hostViewer = this.GetHostViewer();
                if (hostViewer != null)
                {
                    result = hostViewer.IsMasterPageView(this);
                }
            }
            return(result);
        }
Beispiel #2
0
        /// <summary>
        /// Check whether content needs to be reflowed.
        /// </summary>
        /// <returns>True, if content needs to be reflowed.</returns>
        private bool ShouldReflowContent()
        {
            bool shouldReflow = false;
            DocumentViewerBase hostViewer;

            if (DocumentViewerBase.GetIsMasterPage(this))
            {
                hostViewer = GetHostViewer();
                if (hostViewer != null)
                {
                    shouldReflow = hostViewer.IsMasterPageView(this);
                }
            }
            return(shouldReflow);
        }