Partager via


WpfDesktopApplicationUI Class

Definition

Separates the details of hosting applications and their UIs from the layout of the agent desktop form. It keeps a collection of WpfPanels and exposes itself as a collection of IHostedApplication objects.

public ref class WpfDesktopApplicationUI : Microsoft::Uii::Desktop::UI::Controls::DesktopApplicationUIBase
public class WpfDesktopApplicationUI : Microsoft.Uii.Desktop.UI.Controls.DesktopApplicationUIBase
type WpfDesktopApplicationUI = class
    inherit DesktopApplicationUIBase
Public Class WpfDesktopApplicationUI
Inherits DesktopApplicationUIBase
Inheritance
WpfDesktopApplicationUI

Constructors

WpfDesktopApplicationUI()

Initializes a new instance of the WpfDesktopApplicationUI class.

Fields

OpaqueLevel

Level of opaqueness to use when a panel is not active.

(Inherited from DesktopApplicationUIBase)
OpaquenessLevel

Specifies the level of opaqueness to use when a panel is not active.

Properties

ActivePanel

Gets or sets the panel which hosts the application currently in use. This panel may contain more than one application.

Applications

List of active applications across all panels. This permits the AppsUI class to act as an enumerator for IHostedApplications.

(Inherited from DesktopApplicationUIBase)
CloseApplicationClick

Gets or sets the event handler to handle application close.

(Inherited from DesktopApplicationUIBase)
FloatingForms

Gets or sets the list of floating forms.

(Inherited from DesktopApplicationUIBase)
Item[Int32]

Gets the objects to be indexed.

(Inherited from DesktopApplicationUIBase)
Length

Gets the number of hosted applications that are being used.

(Inherited from DesktopApplicationUIBase)
Name

Gets or sets the panel name.

(Inherited from DesktopApplicationUIBase)
Panels

Gets or sets the list of the panels.

(Inherited from DesktopApplicationUIBase)
SelectedAppChanged

Gets or sets the event handler to handle application selection changes.

(Inherited from DesktopApplicationUIBase)

Methods

AddApplication(String, Object, String, Boolean)

Adds a hosted application or any Windows Forms control to a panel.

AddPanel(IPanel)

Adds an IPanel to the list of known panels which may be hosting applications.

(Inherited from DesktopApplicationUIBase)
CreateFloatingPanel<TIcon>(Boolean, Boolean, String, Object, TIcon, String, Boolean)

Creates a new floating pfPanel for hosting controls or applications.

EnableApplicationClose(Window, Boolean)

Added here by necessity --&amp;gt; should be in Win32Api or other helper class not sure if this working for WPF...

GetEnumerator()

Iterates through the applications.

(Inherited from DesktopApplicationUIBase)
GetSelectedApplication()

Gets the selected application regardless of how its hosted.

(Inherited from DesktopApplicationUIBase)
NextPanel()

Gets the panel after the one which has the current focus in the interface.

RemoveApplication(Object)

Removes the passed in application from the UI, regardless of which panel it is in.

RemovePanel(IPanel)

Removes an IPanel from the list of known panels.

(Inherited from DesktopApplicationUIBase)
SelectApplication(Guid)

Selects the UI panel and control which is hosting the given application.

SetRedraw(Boolean)

Enables/Disables redrawing of the hosted application panels to make the UI look cleaner when redrawing many items.

Applies to