ComponentFactory.Krypton.Ribbon.ViewLayoutRibbonQATMini.GetPreviousQATView C# (CSharp) Method

GetPreviousQATView() public method

Gets the view element for the button before the one provided.
public GetPreviousQATView ( ViewBase qatButton ) : ViewBase
qatButton ViewBase Search for entry after this view.
return ViewBase
        public ViewBase GetPreviousQATView(ViewBase qatButton)
        {
            // If on the extra button then find the right most qat button instead
            if (qatButton == _extraButton)
                return _borderContents.GetLastQATView();
            else
                return _borderContents.GetPreviousQATView(qatButton);
        }