Source/NFX.WinForms/Elements/ElementHostControl.cs
/// <summary>
/// Returns list of elements inside specified region. Elements are returned in registration order
/// </summary>
Returns list of elements inside specified region. Elements are returned in registration order
Returns list of elements inside specified region . Elements are returned in registration order
public IEnumerable<Element> GetElementsInRegion(Rectangle region, ElementZOrder order)
      {
        if (order == ElementZOrder.BottomToTop)
           return GetElementsInRegion(region).OrderBy(item => item.ZOrder);
        else
           return GetElementsInRegion(region).OrderBy(item => -item.ZOrder); 
      }
public IEnumerable < Element > GetElementsInRegion ( Rectangle region , ElementZOrder order ) { if ( order == ElementZOrder . BottomToTop ) return GetElementsInRegion ( region ) . OrderBy ( item => item . ZOrder ) ; else return GetElementsInRegion ( region ) . OrderBy ( item => - item . ZOrder ) ; }
Returns list of elements inside specified region.
Returns list of elements inside specified region .
region
Rectangle
order
ElementZOrder