Xamarin.iOS

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PopupView

    Show / Hide Table of Contents

    Class PopupView

    The popup view of the Syncfusion.iOS.PopupLayout.PopupView.SfPopupLayout.

    Inheritance
    System.Object
    PopupView
    Namespace: Syncfusion.iOS.PopupLayout
    Assembly: Syncfusion.SfPopupLayout.iOS.dll
    Syntax
    public class PopupView : UIView

    Constructors

    PopupView(CGRect, SfPopupLayout)

    Initializes a new instance of the PopupView class.

    Declaration
    public PopupView(CGRect rect, SfPopupLayout popup)
    Parameters
    Type Name Description
    CoreGraphics.CGRect rect

    The CoreGraphics.CGRect.

    SfPopupLayout popup

    The instance of Syncfusion.iOS.PopupLayout.PopupView.SfPopupLayout.

    PopupView(SfPopupLayout)

    Initializes a new instance of the PopupView class.

    Declaration
    public PopupView(SfPopupLayout popup)
    Parameters
    Type Name Description
    SfPopupLayout popup

    The instance of Syncfusion.iOS.PopupLayout.PopupView.SfPopupLayout.

    PopupView(IntPtr, SfPopupLayout)

    Initializes a new instance of the PopupView class.

    Declaration
    public PopupView(IntPtr ptr, SfPopupLayout popup)
    Parameters
    Type Name Description
    System.IntPtr ptr

    The System.IntPtr.

    SfPopupLayout popup

    The instance of Syncfusion.iOS.PopupLayout.PopupView.SfPopupLayout.

    Properties

    AcceptButtonText

    Gets or sets the text of the accept button in the footer.

    Declaration
    public string AcceptButtonText { get; set; }
    Property Value
    Type Description
    System.String

    The text of the accept button in the footer.

    AnimationDuration

    Gets or sets the duration in milliseconds of the animation played at the opening and closing of the PopupView.

    Declaration
    public double AnimationDuration { get; set; }
    Property Value
    Type Description
    System.Double

    The duration in milliseconds of the animation played at the opening and closing of the PopupView.

    AnimationEasing

    Gets or sets the animation easing effect to be applied to the PopupView's opening and closing animation.

    Declaration
    public AnimationEasing AnimationEasing { get; set; }
    Property Value
    Type Description
    AnimationEasing

    The animation easing effect to be applied for the PopupView when it opens and closes.

    AnimationMode

    Gets or sets the animation to be applied for the PopupView when it opens and closes.

    Declaration
    public AnimationMode AnimationMode { get; set; }
    Property Value
    Type Description
    AnimationMode

    The animation to be applied for the PopupView when it opens and closes.

    AppearanceMode

    Gets or sets the type of layout template of the PopupView.

    Declaration
    public AppearanceMode AppearanceMode { get; set; }
    Property Value
    Type Description
    AppearanceMode

    The type of layout template of the PopupView.

    ContentView

    Gets or sets the CustomView to be loaded in the body of the PopupView.

    Declaration
    public UIView ContentView { get; set; }
    Property Value
    Type Description
    UIKit.UIView

    The CustomView to be loaded in the body of the PopupView.

    DeclineButtonText

    Gets or sets the text of the decline button in the footer.

    Declaration
    public string DeclineButtonText { get; set; }
    Property Value
    Type Description
    System.String

    The text of the decline button in the footer.

    FooterHeight

    Gets or sets the footer height of the PopupView.

    Declaration
    public int FooterHeight { get; set; }
    Property Value
    Type Description
    System.Int32

    The footer height of the PopupView.

    FooterView

    Gets or sets the CustomView to be loaded in the footer of the PopupView.

    Declaration
    public UIView FooterView { get; set; }
    Property Value
    Type Description
    UIKit.UIView

    The CustomView to be loaded in the footer of the PopupView.

    Frame

    Gets or sets the frame.

    Declaration
    public override CGRect Frame { get; set; }
    Property Value
    Type Description
    CoreGraphics.CGRect

    The frame.

    HeaderHeight

    Gets or sets the header height of the PopupView.

    Declaration
    public int HeaderHeight { get; set; }
    Property Value
    Type Description
    System.Int32

    The header height of the PopupView.

    HeaderTitle

    Gets or sets the Header title of the PopupView.

    Declaration
    public string HeaderTitle { get; set; }
    Property Value
    Type Description
    System.String

    The Header title of the PopupView.

    HeaderView

    Gets or sets the CustomView to be loaded in the header of the PopupView.

    Declaration
    public UIView HeaderView { get; set; }
    Property Value
    Type Description
    UIKit.UIView

    The CustomView to be loaded in the header of the PopupView.

    PopupStyle

    Gets or sets the style to be applied to the PopupView in Syncfusion.iOS.PopupLayout.PopupView.SfPopupLayout.

    Declaration
    public PopupStyle PopupStyle { get; set; }
    Property Value
    Type Description
    PopupStyle

    The style to be applied to the PopupView in Syncfusion.iOS.PopupLayout.PopupView.SfPopupLayout.

    ShowCloseButton

    Gets or sets a value indicating whether to show the close button in the header.

    Declaration
    public bool ShowCloseButton { get; set; }
    Property Value
    Type Description
    System.Boolean

    A boolean value indicating whether to show the close button in the header.

    ShowFooter

    Gets or sets a value indicating whether the footer is to be included in the PopupView.

    Declaration
    public bool ShowFooter { get; set; }
    Property Value
    Type Description
    System.Boolean

    A value indicating whether the footer is to be included in the PopupView.

    ShowHeader

    Gets or sets a value indicating whether the header is to be included in the PopupView.

    Declaration
    public bool ShowHeader { get; set; }
    Property Value
    Type Description
    System.Boolean

    A value indicating whether the header is to be included in the PopupView.

    Methods

    add_AcceptButtonClicked(PopupView.AcceptEventHandler)

    Declaration
    public void add_AcceptButtonClicked(PopupView.AcceptEventHandler value)
    Parameters
    Type Name Description
    PopupView.AcceptEventHandler value

    add_DeclineButtonClicked(PopupView.DeclineEventHandler)

    Declaration
    public void add_DeclineButtonClicked(PopupView.DeclineEventHandler value)
    Parameters
    Type Name Description
    PopupView.DeclineEventHandler value

    AwakeFromNib()

    Called after the object has been loaded from the nib file.

    Declaration
    public override void AwakeFromNib()

    Dispose()

    Perform final clean up before it is released from memory.

    Declaration
    public void Dispose()

    Dispose(Boolean)

    Disposes all the objects in the PopupView.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    Value indicating whether to dispose the objects or not.

    remove_AcceptButtonClicked(PopupView.AcceptEventHandler)

    Declaration
    public void remove_AcceptButtonClicked(PopupView.AcceptEventHandler value)
    Parameters
    Type Name Description
    PopupView.AcceptEventHandler value

    remove_DeclineButtonClicked(PopupView.DeclineEventHandler)

    Declaration
    public void remove_DeclineButtonClicked(PopupView.DeclineEventHandler value)
    Parameters
    Type Name Description
    PopupView.DeclineEventHandler value

    Events

    AcceptButtonClicked

    Occurs when accept button is clicked.

    Declaration
    public event PopupView.AcceptEventHandler AcceptButtonClicked
    Event Type
    Type Description
    PopupView.AcceptEventHandler

    DeclineButtonClicked

    Occurs when Decline button is clicked.

    Declaration
    public event PopupView.DeclineEventHandler DeclineButtonClicked
    Event Type
    Type Description
    PopupView.DeclineEventHandler
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved