C# Class Touch.Common.FrameHelper

Show file Open project: TouchInstinct/Training

Public Methods

Method Description
AlignBottom ( this fc ) : FrameContext
AlignBottom ( this fc, UIView relativeView, float bottomMargin = 0f ) : FrameContext
AlignLeft ( this fc, UIView relativeView, float dx = 0f ) : FrameContext
AlignLeft ( this fc, float dx = 0f ) : FrameContext
AlignRight ( this fc, UIView relativeView, float rightMargin = 0f ) : FrameContext
AlignRight ( this fc, float rightMargin = 0f ) : FrameContext
AlignTop ( this fc, RectangleF relativeViewFrame, float topMargin = 0f ) : FrameContext
AlignTop ( this fc, UIView relativeView, float topMargin = 0f ) : FrameContext
AlignTop ( this fc, float topMargin = 0f ) : FrameContext
BMargin ( this fc, float bottomMargin ) : FrameContext
Begin ( this view, UIView relativeView = null ) : FrameContext

Get FrameContext

CenterH ( this fc ) : FrameContext
CenterV ( this fc ) : FrameContext
FillBelow ( this fc ) : FrameContext
FillHorizontally ( this fc, float left = 0f, float right = 0f ) : FrameContext
Height ( this fc, float height ) : FrameContext
LMargin ( this fc, float leftMargin ) : FrameContext
LeftOfCenter ( this fc, float dx = 0f ) : FrameContext

Расплолагает view левее центра родителя. Есть возможность сдвига на dx

MoveY ( this fc, float dy ) : FrameContext
PlaceAbove ( this fc, UIView viewBelow, float dy = 0f ) : FrameContext
PlaceBelow ( this fc, UIView viewAbove, float dy = 0f ) : FrameContext
PlaceBelow ( this fc, float dy = 0f ) : FrameContext
PlaceRight ( this fc, UIView pivot, float dx = 0f ) : FrameContext
TMagrin ( this fc, float topMargin ) : FrameContext
Width ( this fc, float width ) : FrameContext
X ( this fc, float x ) : FrameContext
Y ( this fc, float y ) : FrameContext

Method Details

AlignBottom() public static method

public static AlignBottom ( this fc ) : FrameContext
fc this
return FrameContext

AlignBottom() public static method

public static AlignBottom ( this fc, UIView relativeView, float bottomMargin = 0f ) : FrameContext
fc this
relativeView UIView
bottomMargin float
return FrameContext

AlignLeft() public static method

public static AlignLeft ( this fc, UIView relativeView, float dx = 0f ) : FrameContext
fc this
relativeView UIView
dx float
return FrameContext

AlignLeft() public static method

public static AlignLeft ( this fc, float dx = 0f ) : FrameContext
fc this
dx float
return FrameContext

AlignRight() public static method

public static AlignRight ( this fc, UIView relativeView, float rightMargin = 0f ) : FrameContext
fc this
relativeView UIView
rightMargin float
return FrameContext

AlignRight() public static method

public static AlignRight ( this fc, float rightMargin = 0f ) : FrameContext
fc this
rightMargin float
return FrameContext

AlignTop() public static method

public static AlignTop ( this fc, RectangleF relativeViewFrame, float topMargin = 0f ) : FrameContext
fc this
relativeViewFrame System.Drawing.RectangleF
topMargin float
return FrameContext

AlignTop() public static method

public static AlignTop ( this fc, UIView relativeView, float topMargin = 0f ) : FrameContext
fc this
relativeView UIView
topMargin float
return FrameContext

AlignTop() public static method

public static AlignTop ( this fc, float topMargin = 0f ) : FrameContext
fc this
topMargin float
return FrameContext

BMargin() public static method

public static BMargin ( this fc, float bottomMargin ) : FrameContext
fc this
bottomMargin float
return FrameContext

Begin() public static method

Get FrameContext
public static Begin ( this view, UIView relativeView = null ) : FrameContext
view this
relativeView UIView
return FrameContext

CenterH() public static method

public static CenterH ( this fc ) : FrameContext
fc this
return FrameContext

CenterV() public static method

public static CenterV ( this fc ) : FrameContext
fc this
return FrameContext

FillBelow() public static method

public static FillBelow ( this fc ) : FrameContext
fc this
return FrameContext

FillHorizontally() public static method

public static FillHorizontally ( this fc, float left = 0f, float right = 0f ) : FrameContext
fc this
left float
right float
return FrameContext

Height() public static method

public static Height ( this fc, float height ) : FrameContext
fc this
height float
return FrameContext

LMargin() public static method

public static LMargin ( this fc, float leftMargin ) : FrameContext
fc this
leftMargin float
return FrameContext

LeftOfCenter() public static method

Расплолагает view левее центра родителя. Есть возможность сдвига на dx
public static LeftOfCenter ( this fc, float dx = 0f ) : FrameContext
fc this
dx float
return FrameContext

MoveY() public static method

public static MoveY ( this fc, float dy ) : FrameContext
fc this
dy float
return FrameContext

PlaceAbove() public static method

public static PlaceAbove ( this fc, UIView viewBelow, float dy = 0f ) : FrameContext
fc this
viewBelow UIView
dy float
return FrameContext

PlaceBelow() public static method

public static PlaceBelow ( this fc, UIView viewAbove, float dy = 0f ) : FrameContext
fc this
viewAbove UIView
dy float
return FrameContext

PlaceBelow() public static method

public static PlaceBelow ( this fc, float dy = 0f ) : FrameContext
fc this
dy float
return FrameContext

PlaceRight() public static method

public static PlaceRight ( this fc, UIView pivot, float dx = 0f ) : FrameContext
fc this
pivot UIView
dx float
return FrameContext

TMagrin() public static method

public static TMagrin ( this fc, float topMargin ) : FrameContext
fc this
topMargin float
return FrameContext

Width() public static method

public static Width ( this fc, float width ) : FrameContext
fc this
width float
return FrameContext

X() public static method

public static X ( this fc, float x ) : FrameContext
fc this
x float
return FrameContext

Y() public static method

public static Y ( this fc, float y ) : FrameContext
fc this
y float
return FrameContext