Class ContentPopup
The ContentPopup is a Popup, which allows you to customize the Layout to be displayed.
Inheritance
System.Object
Xamarin.Forms.BindableObject
Xamarin.Forms.Element
ContentPopup
Implements
System.ComponentModel.INotifyPropertyChanged
Xamarin.Forms.IElementController
Inherited Members
Xamarin.Forms.Element.MenuProperty
Xamarin.Forms.Element.AutomationIdProperty
Xamarin.Forms.Element.ClassIdProperty
Xamarin.Forms.Element.GetMenu(Xamarin.Forms.BindableObject)
Xamarin.Forms.Element.SetMenu(Xamarin.Forms.BindableObject, Xamarin.Forms.Menu)
Xamarin.Forms.Element.Xamarin.Forms.IElementController.SetValueFromRenderer(Xamarin.Forms.BindableProperty, System.Object)
Xamarin.Forms.Element.FindByName(System.String)
Xamarin.Forms.Element.RemoveDynamicResource(Xamarin.Forms.BindableProperty)
Xamarin.Forms.Element.SetDynamicResource(Xamarin.Forms.BindableProperty, System.String)
Xamarin.Forms.Element.OnChildAdded(Xamarin.Forms.Element)
Xamarin.Forms.Element.OnChildRemoved(Xamarin.Forms.Element)
Xamarin.Forms.Element.OnChildRemoved(Xamarin.Forms.Element, System.Int32)
Xamarin.Forms.Element.OnParentSet()
Xamarin.Forms.Element.OnPropertyChanged(System.String)
Xamarin.Forms.Element.AutomationId
Xamarin.Forms.Element.ClassId
Xamarin.Forms.Element.Effects
Xamarin.Forms.Element.Id
Xamarin.Forms.Element.StyleId
Xamarin.Forms.Element.Parent
Xamarin.Forms.Element.ChildAdded
Xamarin.Forms.Element.ChildRemoved
Xamarin.Forms.Element.DescendantAdded
Xamarin.Forms.Element.DescendantRemoved
Xamarin.Forms.BindableObject.BindingContextProperty
Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.ClearValue(Xamarin.Forms.BindablePropertyKey)
Xamarin.Forms.BindableObject.GetValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.IsSet(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.RemoveBinding(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.SetBinding(Xamarin.Forms.BindableProperty, Xamarin.Forms.BindingBase)
Xamarin.Forms.BindableObject.ApplyBindings()
Xamarin.Forms.BindableObject.OnPropertyChanging(System.String)
Xamarin.Forms.BindableObject.UnapplyBindings()
Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindableProperty, System.Object)
Xamarin.Forms.BindableObject.SetValue(Xamarin.Forms.BindablePropertyKey, System.Object)
Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindableProperty)
Xamarin.Forms.BindableObject.CoerceValue(Xamarin.Forms.BindablePropertyKey)
Xamarin.Forms.BindableObject.Dispatcher
Xamarin.Forms.BindableObject.BindingContext
Xamarin.Forms.BindableObject.PropertyChanged
Xamarin.Forms.BindableObject.PropertyChanging
Xamarin.Forms.BindableObject.BindingContextChanged
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Tizen.Theme.Common
Assembly: Tizen.Theme.Common.dll
Syntax
public class ContentPopup : Element, INotifyPropertyChanged, IDynamicResourceHandler, IElement, INameScope, IElementController, IStyleSelectable
Fields
BackgroundColorProperty
BindableProperty. Identifies the BackgroundColor bindable property.
Declaration
public static readonly BindableProperty BackgroundColorProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
ContentProperty
BindableProperty. Identifies the Content bindable property.
Declaration
public static readonly BindableProperty ContentProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
IsOpenProperty
BindableProperty. Identifies the IsOpen bindable property.
Declaration
public static readonly BindableProperty IsOpenProperty
Field Value
Type | Description |
---|---|
Xamarin.Forms.BindableProperty |
Properties
BackgroundColor
Gets or sets the background color of popup.
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Color |
Content
Gets or sets content of the Popup.
Declaration
public Layout Content { get; set; }
Property Value
Type | Description |
---|---|
Xamarin.Forms.Layout |
IsOpen
Gets or sets the popup is opened.
Declaration
public bool IsOpen { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
Dismiss()
Dismisses the popup.
Declaration
public void Dismiss()
OnBackButtonPressed()
To change the default behavior of the BackButton. Default behavior is dismiss.
Declaration
protected virtual bool OnBackButtonPressed()
Returns
Type | Description |
---|---|
System.Boolean | Default is false |
OnBindingContextChanged()
Declaration
protected override void OnBindingContextChanged()
Overrides
Xamarin.Forms.Element.OnBindingContextChanged()
Events
Dismissed
Occurs when the popup is dismissed.
Declaration
public event EventHandler Dismissed
Event Type
Type | Description |
---|---|
System.EventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged
Xamarin.Forms.IElementController