AdjacentLayout

Namespace: WellFired.Guacamole

Implements: WellFired.Guacamole.Layouts.ILayoutChildren

Description

Properties

OrientationOptions Orientation { get; set; }
int Spacing { get; set; }
LayoutOptions VerticalLayout { get; set; }
LayoutOptions HorizontalLayout { get; set; }

Public Methods

void Layout ( ICollection< ILayoutable > layoutables, UIRect availableSpace, UIPadding containerPadding )
UIRect CalculateValidRectRequest ( IEnumerable< ILayoutable > layoutables, UISize minSize )
void AttemptToFullfillRequests ( ICollection< ILayoutable > children, UIRect availableSpace, UIPadding containerPadding, LayoutOptions horizontalLayout, LayoutOptions verticalLayout )

Public Static Methods

ILayoutChildren Of ( OrientationOptions orientation )
ILayoutChildren Of ( OrientationOptions orientation, int spacing )
ILayoutChildren Of ( OrientationOptions orientation, int spacing, LayoutOptions horizontalLayoutOptions, LayoutOptions verticalLayoutOptions )

Breakdown

  • OrientationOptions Orientation { get; set; }
  • int Spacing { get; set; }
  • LayoutOptions VerticalLayout { get; set; }
  • LayoutOptions HorizontalLayout { get; set; }
  • void Layout ( ICollection< ILayoutable > layoutables, UIRect availableSpace, UIPadding containerPadding )

    Parameters

    layoutables The layoutables that we will layout.
    availableSpace The space available to these objects. Please be aware that this may have changed since AttemptToFullfillRequests was called.
    containerPadding The parents padding.
  • UIRect CalculateValidRectRequest ( IEnumerable< ILayoutable > layoutables, UISize minSize )

    Parameters

    layoutables The things we are going to calculate the size on.
    minSize The minimum total size that these children can take up.
  • void AttemptToFullfillRequests ( ICollection< ILayoutable > children, UIRect availableSpace, UIPadding containerPadding, LayoutOptions horizontalLayout, LayoutOptions verticalLayout )

    Parameters

    children The Children that we will layout.
    availableSpace The space that is available for these children to be layouted in.
    containerPadding The parents padding.
    horizontalLayout  
    verticalLayout  
  • ILayoutChildren Of ( OrientationOptions orientation, int spacing, LayoutOptions horizontalLayoutOptions, LayoutOptions verticalLayoutOptions )