public ViewBase GetLastFocusItem()
{
if (_viewLarge.Visible)
{
if (_ribbonGallery.Visible && _ribbonGallery.Enabled)
return _viewLarge;
}
else
{
if ((_ribbonGallery.Visible) &&
(_ribbonGallery.LastGallery != null) &&
(_ribbonGallery.LastGallery.CanSelect))
return this;
}
return null;
}