C# Class TodoApp.Controls.DefaultControls.PopupLayout

Class PopupLayout. https://github.com/XLabs/Xamarin-Forms-Labs/blob/master/src/Forms/XLabs.Forms/Controls/PopupLayout.cs
Inheritance: Xamarin.Forms.ContentView
ファイルを表示 Open project: strongloop/loopback-example-xamarin

Public Methods

Method Description
AddChild ( View view, Constraint xConstraint = null, Constraint yConstraint = null, Constraint widthConstraint = null, Constraint heightConstraint = null ) : void
DismissPopup ( ) : void

Dismisses the popup.

PopupLayout ( ) : System
ReliableShowPopup ( View popupView, View presenter, PopupLocation location, float paddingX, float paddingY ) : void
ShowPopup ( View popupView ) : void

Shows the popup centered to the parent view.

ShowPopup ( View popupView, Constraint xConstraint, Constraint yConstraint, Constraint widthConstraint = null, Constraint heightConstraint = null ) : void

Shows the popup with constraints.

ShowPopup ( View popupView, View presenter, PopupLocation location, float paddingX, float paddingY ) : void

Shows the popup.

Method Details

AddChild() public method

public AddChild ( View view, Constraint xConstraint = null, Constraint yConstraint = null, Constraint widthConstraint = null, Constraint heightConstraint = null ) : void
view Xamarin.Forms.View
xConstraint Constraint
yConstraint Constraint
widthConstraint Constraint
heightConstraint Constraint
return void

DismissPopup() public method

Dismisses the popup.
public DismissPopup ( ) : void
return void

PopupLayout() public method

public PopupLayout ( ) : System
return System

ReliableShowPopup() public method

public ReliableShowPopup ( View popupView, View presenter, PopupLocation location, float paddingX, float paddingY ) : void
popupView Xamarin.Forms.View
presenter Xamarin.Forms.View
location PopupLocation
paddingX float
paddingY float
return void

ShowPopup() public method

Shows the popup centered to the parent view.
public ShowPopup ( View popupView ) : void
popupView Xamarin.Forms.View The popup view.
return void

ShowPopup() public method

Shows the popup with constraints.
public ShowPopup ( View popupView, Constraint xConstraint, Constraint yConstraint, Constraint widthConstraint = null, Constraint heightConstraint = null ) : void
popupView Xamarin.Forms.View The popup view.
xConstraint Constraint X constraint.
yConstraint Constraint Y constraint.
widthConstraint Constraint Optional width constraint.
heightConstraint Constraint Optional height constraint.
return void

ShowPopup() public method

Shows the popup.
public ShowPopup ( View popupView, View presenter, PopupLocation location, float paddingX, float paddingY ) : void
popupView Xamarin.Forms.View The popup view.
presenter Xamarin.Forms.View The presenter.
location PopupLocation The location.
paddingX float The padding x.
paddingY float The padding y.
return void