C# Class FormsPopup.Popup

Popup view to be displayed over a ContentPage.
No default styles have been created for this view.
Inheritance: Xamarin.Forms.ContentView
ファイルを表示 Open project: michaeled/FormsPopup Class Usage Examples

Public Properties

Property Type Description
BodyProperty BindableProperty
BottomBorderColorProperty BindableProperty
ContentHeightRequestProperty BindableProperty
ContentWidthRequestProperty BindableProperty
FooterProperty BindableProperty
HeaderProperty BindableProperty
LeftBorderColorProperty BindableProperty
RightBorderColorProperty BindableProperty
TopBorderColorProperty BindableProperty
XPositionRequestProperty BindableProperty
YPositionRequestProperty BindableProperty

Public Methods

Method Description
Hide ( ) : void

Hide the popup view.

HideAsync ( Task>.Func animation ) : System.Threading.Tasks.Task

Hide the popup view.

This method is not limited adding animations.

Popup ( ) : System
Show ( ) : void

Show the popup view.

ShowAsync ( Task>.Func animation ) : System.Threading.Tasks.Task

Show the popup view.

This method is not limited adding animations.

Protected Methods

Method Description
OnHidden ( ) : void
OnHiding ( ) : PopupHidingEventArgs
OnInitializing ( ) : void
OnPropertyTapped ( PopupTappedEventArgs e ) : void
OnShowing ( ) : PopupShowingEventArgs
OnShown ( ) : void

Private Methods

Method Description
OnBodyPropertyChanged ( BindableObject bindable, object oldValue, object newValue ) : void
OnBottomBorderChanged ( BindableObject bindable, object oldvalue, object newvalue ) : void
OnFooterPropertyChanged ( BindableObject bindable, object oldValue, object newValue ) : void
OnHeaderPropertyChanged ( BindableObject bindable, object oldValue, object newValue ) : void
OnLeftBorderChanged ( BindableObject bindable, object oldvalue, object newvalue ) : void
OnPopupInitializing ( object sender, EventArgs e ) : void
OnPositionChanged ( BindableObject bindable, object oldvalue, object newvalue ) : void
OnRightBorderChanged ( BindableObject bindable, object oldvalue, object newvalue ) : void
OnTopBorderChanged ( BindableObject bindable, object oldvalue, object newvalue ) : void

Method Details

Hide() public method

Hide the popup view.
public Hide ( ) : void
return void

HideAsync() public method

Hide the popup view.
This method is not limited adding animations.
public HideAsync ( Task>.Func animation ) : System.Threading.Tasks.Task
animation Task>.Func The method is passed the VisualElement that contains the body, header, and footer
return System.Threading.Tasks.Task

OnHidden() protected method

protected OnHidden ( ) : void
return void

OnHiding() protected method

protected OnHiding ( ) : PopupHidingEventArgs
return PopupHidingEventArgs

OnInitializing() protected method

protected OnInitializing ( ) : void
return void

OnPropertyTapped() protected method

protected OnPropertyTapped ( PopupTappedEventArgs e ) : void
e PopupTappedEventArgs
return void

OnShowing() protected method

protected OnShowing ( ) : PopupShowingEventArgs
return PopupShowingEventArgs

OnShown() protected method

protected OnShown ( ) : void
return void

Popup() public method

public Popup ( ) : System
return System

Show() public method

Show the popup view.
public Show ( ) : void
return void

ShowAsync() public method

Show the popup view.
This method is not limited adding animations.
public ShowAsync ( Task>.Func animation ) : System.Threading.Tasks.Task
animation Task>.Func The method is passed the VisualElement that contains the body, header, and footer
return System.Threading.Tasks.Task

Property Details

BodyProperty public_oe static_oe property

public static BindableProperty BodyProperty
return BindableProperty

BottomBorderColorProperty public_oe static_oe property

public static BindableProperty BottomBorderColorProperty
return BindableProperty

ContentHeightRequestProperty public_oe static_oe property

public static BindableProperty ContentHeightRequestProperty
return BindableProperty

ContentWidthRequestProperty public_oe static_oe property

public static BindableProperty ContentWidthRequestProperty
return BindableProperty

FooterProperty public_oe static_oe property

public static BindableProperty FooterProperty
return BindableProperty

HeaderProperty public_oe static_oe property

public static BindableProperty HeaderProperty
return BindableProperty

LeftBorderColorProperty public_oe static_oe property

public static BindableProperty LeftBorderColorProperty
return BindableProperty

RightBorderColorProperty public_oe static_oe property

public static BindableProperty RightBorderColorProperty
return BindableProperty

TopBorderColorProperty public_oe static_oe property

public static BindableProperty TopBorderColorProperty
return BindableProperty

XPositionRequestProperty public_oe static_oe property

public static BindableProperty XPositionRequestProperty
return BindableProperty

YPositionRequestProperty public_oe static_oe property

public static BindableProperty YPositionRequestProperty
return BindableProperty