ComponentFactory.Krypton.Ribbon.VisualPopupMinimized.UpdatePosition C# (CSharp) Method

UpdatePosition() public method

Update the displayed position to reflect a change in selected tab.
public UpdatePosition ( ViewLayoutRibbonTabsArea tabsArea, ViewDrawPanel drawMinimizedPanel ) : void
tabsArea ViewLayoutRibbonTabsArea Tabs area of the
drawMinimizedPanel ComponentFactory.Krypton.Toolkit.ViewDrawPanel
return void
        public void UpdatePosition(ViewLayoutRibbonTabsArea tabsArea, 
                                   ViewDrawPanel drawMinimizedPanel)
        {
            // Move to the newly calculated position
            Rectangle popupRect = CalculatePopupRect(tabsArea, drawMinimizedPanel);
            SetBounds(popupRect.X, popupRect.Y, popupRect.Width, popupRect.Height);
        }