SourceGrid.GridVirtual.GetVisibleRegion C# (CSharp) Method

GetVisibleRegion() private method

Get the range for the specific area type and rectangle Get the visible ranges. Returns a list of Range, one for each area.
private GetVisibleRegion ( ) : IEnumerable
return IEnumerable
        private IEnumerable<Range> GetVisibleRegion()
        {
            Range rng;

            rng = RangeAtArea(CellPositionType.FixedTopLeft);
            if (rng.IsEmpty() == false)
                yield return rng;
            rng = RangeAtArea(CellPositionType.FixedTop);
            if (rng.IsEmpty() == false)
                yield return rng;
            rng = RangeAtArea(CellPositionType.FixedLeft);
            if (rng.IsEmpty() == false)
                yield return rng;
            rng = RangeAtArea(CellPositionType.Scrollable);
            if (rng.IsEmpty() == false)
                yield return rng;
        }