Compartir a través de


DesktopApplicationUIBase Class

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

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.

Namespace:   Microsoft.Uii.Desktop.UI.Controls
Assembly:  Microsoft.Uii.Desktop.UI.Controls (in Microsoft.Uii.Desktop.UI.Controls.dll)

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Desktop.UI.Controls.DesktopApplicationUIBase
    Microsoft.Uii.Desktop.UI.Controls.Wpf.WpfDesktopApplicationUI

Syntax

public abstract class DesktopApplicationUIBase : IApplicationUI, 
    IEnumerable
Public MustInherit Class DesktopApplicationUIBase
    Implements IApplicationUI, IEnumerable

Constructors

Name Description
System_CAPS_protmethod DesktopApplicationUIBase()

Properties

Name Description
System_CAPS_pubproperty Applications

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

System_CAPS_pubpropertySystem_CAPS_static AppWithFocus

Gets or Sets the application which has the focus

System_CAPS_pubproperty CloseApplicationClick

Gets or sets the event handler to handle application close.

System_CAPS_pubproperty FloatingForms

Gets or sets the list of floating forms.

System_CAPS_pubproperty Item[Int32]

Gets the objects to be indexed.

System_CAPS_pubproperty Length

Gets the number of hosted applications that are being used.

System_CAPS_pubproperty Name

Gets or sets the panel name.

System_CAPS_pubproperty Panels

Gets or sets the list of the panels.

System_CAPS_pubproperty SelectedAppChanged

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

Methods

Name Description
System_CAPS_pubmethod AddApplication(String, Object, String, Boolean)

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

System_CAPS_pubmethod AddPanel(IPanel)

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

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

Creates a new floating WpfPanel for hosting controls or applications.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetEnumerator()

Iterates through the applications.

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetSelectedApplication()

Gets the selected application regardless of how its hosted.

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod NextPanel()

Moves to the next panel.

System_CAPS_pubmethod RemoveApplication(Object)

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

System_CAPS_pubmethod RemovePanel(IPanel)

Removes an IPanel from the list of known panels.

System_CAPS_pubmethod SelectApplication(Guid)

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

System_CAPS_pubmethod SetRedraw(Boolean)

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

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Fields

Name Description
System_CAPS_protfieldSystem_CAPS_static OpaqueLevel

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

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.Desktop.UI.Controls Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright