C# Class PopupLayoutsForms.PopupLayouts

Inheritance: AbsoluteLayout
Show file Open project: dbagno/PopupLayouts

Public Properties

Property Type Description
PopupChanged bool
PopupVisible bool
StatusBarOffset double

Private Properties

Property Type Description

Public Methods

Method Description
DismisPopup ( ) : void
DrawPopup ( View view, bool rounded, string title ) : void
GetX ( View view ) : double
GetXY ( View view ) : System.Point
PopupLayouts ( View view, ContentPage parentPage, Xamarin.Forms.ScrollView parentScroll = null ) : System
ShowPopupByMargin ( View view, Rectangle margins, bool modal, bool rounded, string title ) : void
ShowPopupCenter ( View view, double scale = .80, string title = "", bool modal = true, bool rounded = false ) : void
ShowPopupRelative ( View view, View relativeTo, double width, double height, bool modal, string title ) : void

Protected Methods

Method Description
OnClosed ( bool changed ) : void
OnOpened ( ) : void

Method Details

DismisPopup() public method

public DismisPopup ( ) : void
return void

DrawPopup() public method

public DrawPopup ( View view, bool rounded, string title ) : void
view Xamarin.Forms.View
rounded bool
title string
return void

GetX() public method

public GetX ( View view ) : double
view Xamarin.Forms.View
return double

GetXY() public method

public GetXY ( View view ) : System.Point
view Xamarin.Forms.View
return System.Point

OnClosed() protected method

protected OnClosed ( bool changed ) : void
changed bool
return void

OnOpened() protected method

protected OnOpened ( ) : void
return void

PopupLayouts() public method

public PopupLayouts ( View view, ContentPage parentPage, Xamarin.Forms.ScrollView parentScroll = null ) : System
view Xamarin.Forms.View
parentPage Xamarin.Forms.ContentPage
parentScroll Xamarin.Forms.ScrollView
return System

ShowPopupByMargin() public method

public ShowPopupByMargin ( View view, Rectangle margins, bool modal, bool rounded, string title ) : void
view Xamarin.Forms.View
margins Rectangle
modal bool
rounded bool
title string
return void

ShowPopupCenter() public method

public ShowPopupCenter ( View view, double scale = .80, string title = "", bool modal = true, bool rounded = false ) : void
view Xamarin.Forms.View
scale double
title string
modal bool
rounded bool
return void

ShowPopupRelative() public method

public ShowPopupRelative ( View view, View relativeTo, double width, double height, bool modal, string title ) : void
view Xamarin.Forms.View
relativeTo Xamarin.Forms.View
width double
height double
modal bool
title string
return void

Property Details

PopupChanged public property

public bool PopupChanged
return bool

PopupVisible public property

public bool PopupVisible
return bool

StatusBarOffset public property

public double StatusBarOffset
return double