Class QuickPanelClient
Definition
- Assembly:
- Tizen.NUI.WindowSystem.dll
Class for the Tizen quickpanel client.
public class QuickPanelClient : IDisposable
- Inheritance
-
objectQuickPanelClient
- Implements
-
System.IDisposable
Constructors
View SourceQuickPanelClient(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. |
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 SourceOrientation
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. |
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. |
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 SourceDispose()
Dispose.
Declaration
public void Dispose()
Exceptions
Type | Condition |
---|---|
System.MemberAccessException | Thrown when private memeber is a corrupted. |
Dispose(DisposeTypes)
Declaration
protected virtual void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
~QuickPanelClient()
Destructor.
Declaration
protected ~QuickPanelClient()
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. |
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 SourceOrientationChanged
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. |
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. |
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. |