Class QuickPanelClient

    Definition

    Namespace:
    Tizen.NUI.WindowSystem.Shell
    Assembly:
    Tizen.NUI.WindowSystem.dll

    Class for the Tizen quickpanel client.

    public class QuickPanelClient : IDisposable
    Inheritance
    object
    QuickPanelClient
    Implements
    System.IDisposable

    Constructors

    View Source

    QuickPanelClient(TizenShell, IWindowProvider, Types)

    Creates a new Quickpanel Client handle.

    Declaration
    public QuickPanelClient(TizenShell tzShell, IWindowProvider win, QuickPanelClient.Types type)
    Parameters
    Type Name Description
    TizenShell tzShell

    The TizenShell instance.

    IWindowProvider win

    The window provider for the quickpanel service.

    QuickPanelClient.Types type

    The type of quickpanel service.

    Exceptions
    Type Condition
    OutOfMemoryException

    Thrown when there is not enough memory (to allocate).

    System.ArgumentException

    Thrown when failed of invalid argument.

    System.ArgumentNullException

    Thrown when an argument is null.

    View Source

    QuickPanelClient(TizenShell, Window, Types)

    Creates a new Quickpanel Client handle.

    Declaration
    public QuickPanelClient(TizenShell tzShell, Window win, QuickPanelClient.Types type)
    Parameters
    Type Name Description
    TizenShell tzShell

    The TizenShell instance.

    Window win

    The window to provide service of the quickpanel.

    QuickPanelClient.Types type

    The type of quickpanel service.

    Exceptions
    Type Condition
    OutOfMemoryException

    Thrown when the memory is not enough to allocate.

    System.ArgumentException

    Thrown when failed of invalid argument.

    System.ArgumentNullException

    Thrown when an argument is null.

    Properties

    View Source

    Orientation

    Gets the current orientation of the quickpanel service window.

    Declaration
    public Window.WindowOrientation Orientation { get; }
    Property Value
    Type Description
    Window.WindowOrientation

    The orientation of the quickpanel service window.

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when failed of invalid argument.

    System.InvalidOperationException

    Thrown when failed because of an invalid operation or no service.

    View Source

    Scrollable

    Gets or sets the window's scrollable state of the quickpanel service window.

    Declaration
    public QuickPanelClient.ScrollableState Scrollable { get; set; }
    Property Value
    Type Description
    QuickPanelClient.ScrollableState

    The scrollable state of the quickpanel service window.

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when failed of invalid argument.

    System.InvalidOperationException

    Thrown when failed because of an invalid operation or no service.

    View Source

    Visible

    Gets the visible state of the quickpanel.

    Declaration
    public QuickPanelClient.VisibleState Visible { get; }
    Property Value
    Type Description
    QuickPanelClient.VisibleState

    The visible state of the quickpanel service window.

    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when failed of invalid argument.

    System.InvalidOperationException

    Thrown when failed because of an invalid operation or no service.

    Methods

    View Source

    Dispose()

    Dispose.

    Declaration
    public void Dispose()
    Exceptions
    Type Condition
    System.MemberAccessException

    Thrown when private memeber is a corrupted.

    View Source

    Dispose(DisposeTypes)

    Declaration
    protected virtual void Dispose(DisposeTypes type)
    Parameters
    Type Name Description
    DisposeTypes type
    View Source

    ~QuickPanelClient()

    Destructor.

    Declaration
    protected ~QuickPanelClient()
    View Source

    Hide()

    Hides the quickpanel service window.

    Declaration
    public void Hide()
    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when failed of invalid argument.

    System.InvalidOperationException

    Thrown when failed because of an invalid operation or no service.

    View Source

    Show()

    Shows the quickpanel service window if it is currently scrollable.

    Declaration
    public void Show()
    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when failed of invalid argument.

    System.InvalidOperationException

    Thrown when failed because of an invalid operation or no service.

    Events

    View Source

    OrientationChanged

    Emits the event when the orientation of the quickpanel service window is changed.

    Declaration
    public event EventHandler<Window.WindowOrientation> OrientationChanged
    Event Type
    Type Description
    System.EventHandler<TEventArgs><Window.WindowOrientation>
    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when failed of invalid argument.

    View Source

    RotationChanged

    Emits the event when the rotation(orientation) of the quickpanel service window is changed. The value of the event argument represents the rotation angle in degrees.

    Declaration
    public event EventHandler<int> RotationChanged
    Event Type
    Type Description
    System.EventHandler<TEventArgs><int>
    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when failed of invalid argument.

    View Source

    VisibleChanged

    Emits the event when the visible state of the quickpanel service window is changed.

    Declaration
    public event EventHandler<QuickPanelClient.VisibleState> VisibleChanged
    Event Type
    Type Description
    System.EventHandler<TEventArgs><QuickPanelClient.VisibleState>
    Exceptions
    Type Condition
    System.ArgumentException

    Thrown when failed of invalid argument.

    Implements

    System.IDisposable
    • View Source
    Back to top Copyright © 2016-2024 Samsung
    Generated by DocFX