Partager via


DesktopApplicationUIBase Class

Definition

DesktopApplicationUIBase separates the details of hosting applications and their UI's from the layout of the agent desktop form. It keeps a collection of IPanels and exposes itself as a collection of IHostedApplication objects.

public ref class DesktopApplicationUIBase abstract : Microsoft::Uii::Desktop::UI::Controls::IApplicationUI, System::Collections::IEnumerable
public abstract class DesktopApplicationUIBase : Microsoft.Uii.Desktop.UI.Controls.IApplicationUI, System.Collections.IEnumerable
type DesktopApplicationUIBase = class
    interface IApplicationUI
    interface IEnumerable
Public MustInherit Class DesktopApplicationUIBase
Implements IApplicationUI, IEnumerable
Inheritance
DesktopApplicationUIBase
Derived
Implements

Constructors

DesktopApplicationUIBase()

Fields

OpaqueLevel

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

Properties

Applications

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

AppWithFocus

Gets or Sets the application which has the focus

CloseApplicationClick

Gets or sets the event handler to handle application close.

FloatingForms

Gets or sets the list of floating forms.

Item[Int32]

Gets the objects to be indexed.

Length

Gets the number of hosted applications that are being used.

Name

Gets or sets the panel name.

Panels

Gets or sets the list of the panels.

SelectedAppChanged

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

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.

CreateFloatingPanel<TIcon>(Boolean, Boolean, String, Object, TIcon, String, Boolean)

Creates a new floating WpfPanel for hosting controls or applications.

GetEnumerator()

Iterates through the applications.

GetSelectedApplication()

Gets the selected application regardless of how its hosted.

NextPanel()

Moves to the next panel.

RemoveApplication(Object)

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

RemovePanel(IPanel)

Removes an IPanel from the list of known panels.

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