Example #1
0
        // Token: 0x06005823 RID: 22563 RVA: 0x001868A8 File Offset: 0x00184AA8
        private void InvalidateLayout()
        {
            this._minLength = 0.0;
            this._maxLength = 0.0;
            base.InvalidateMeasure();
            ToolBarPanel toolBarPanel = this.ToolBarPanel;

            if (toolBarPanel != null)
            {
                toolBarPanel.InvalidateMeasure();
            }
        }
Example #2
0
        private void InvalidateLayout()
        {
            // Reset the calculated min and max size
            _minLength = 0.0;
            _maxLength = 0.0;

            // Min and max sizes are calculated in ToolBar.MeasureOverride
            InvalidateMeasure();

            ToolBarPanel toolBarPanel = this.ToolBarPanel;

            if (toolBarPanel != null)
            {
                // Whether elements are in the overflow or not is decided
                // in ToolBarPanel.MeasureOverride.
                toolBarPanel.InvalidateMeasure();
            }
        }