Class QuickPanelClient

Definition

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

Class for the Tizen quickpanel client.

C#
Copy
public class QuickPanelClient : IDisposable
Inheritance
object
QuickPanelClient
Implements
System.IDisposable

Constructors

View Source

QuickPanelClient(TizenShell, Window, Types)

Creates a new Quickpanel Client handle.

Declaration
C#
Copy
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 a argument is null.

Properties

View Source

Orientation

Gets the current orientation of the quickpanel service window.

Declaration
C#
Copy
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
C#
Copy
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
C#
Copy
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
C#
Copy
public void Dispose()
Exceptions
Type Condition
System.MemberAccessException

Thrown when private memeber is a corrupted.

View Source

Dispose(DisposeTypes)

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

~QuickPanelClient()

Destructor.

Declaration
C#
Copy
protected ~QuickPanelClient()
View Source

Hide()

Hides the quickpanel service window.

Declaration
C#
Copy
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
C#
Copy
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
C#
Copy
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

VisibleChanged

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

Declaration
C#
Copy
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