Show / Hide Table of Contents

    Class Popup<T>

    Base class for custom popup

    Inheritance
    System.Object
    Popup
    Popup<T>
    ActionSheetPopup
    MessagePopup
    PromptPopup
    Inherited Members
    Popup.HasOpenedPopup
    Popup.OutsideClicked
    Popup.Closed
    Popup.Content
    Popup.IsOpen
    Popup.Close()
    Popup.CloseAll()
    Popup.CloseLast()
    Namespace: Tizen.UIExtensions.NUI
    Assembly: Tizen.UIExtensions.NUI.dll
    Syntax
    public abstract class Popup<T> : Popup
    Type Parameters
    Name Description
    T

    A type to return on Popup

    Constructors

    Popup()

    Initializes a new instance of the Popup class.

    Declaration
    protected Popup()

    Properties

    ResponseTcs

    A TaskCompletionSource for result of popup

    Declaration
    protected TaskCompletionSource<T> ResponseTcs { get; set; }
    Property Value
    Type Description
    System.Threading.Tasks.TaskCompletionSource<T>

    Methods

    CreateContent()

    Create content of popup

    Declaration
    protected abstract View CreateContent()
    Returns
    Type Description
    View

    Content View

    Open()

    Open popup

    Declaration
    public Task<T> Open()
    Returns
    Type Description
    System.Threading.Tasks.Task<T>

    The return value on Popup

    SendCancel()

    Cancel popup

    Declaration
    protected void SendCancel()

    SendSubmit(T)

    Submit value to return

    Declaration
    protected void SendSubmit(T value)
    Parameters
    Type Name Description
    T value

    The value to submit

    Back to top Copyright © 2021 Samsung
    Generated by DocFX