WpfDesktopApplicationUI Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
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.
Namespace: Microsoft.Uii.Desktop.UI.Controls.Wpf
Assembly: Microsoft.Uii.Desktop.UI.Controls.Wpf (in Microsoft.Uii.Desktop.UI.Controls.Wpf.dll)
Inheritance Hierarchy
System.Object
Microsoft.Uii.Desktop.UI.Controls.DesktopApplicationUIBase
Microsoft.Uii.Desktop.UI.Controls.Wpf.WpfDesktopApplicationUI
Syntax
public class WpfDesktopApplicationUI : DesktopApplicationUIBase
Public Class WpfDesktopApplicationUI
Inherits DesktopApplicationUIBase
Constructors
Name | Description | |
---|---|---|
WpfDesktopApplicationUI() | Initializes a new instance of the WpfDesktopApplicationUI class. |
Properties
Name | Description | |
---|---|---|
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
Name | Description | |
---|---|---|
AddApplication(String, Object, String, Boolean) | Adds a hosted application or any Windows Forms control to a panel. (Overrides DesktopApplicationUIBase.AddApplication(String, Object, String, Boolean).) |
|
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 WpfPanel for hosting controls or applications.(Inherited from DesktopApplicationUIBase.) |
|
CreateFloatingPanel<TIcon>(Boolean, Boolean, String, Object, TIcon, String, Boolean) | Creates a new floating pfPanel for hosting controls or applications.(Overrides DesktopApplicationUIBase.CreateFloatingPanel<TIcon>(Boolean, Boolean, String, Object, TIcon, String, Boolean).) |
|
EnableApplicationClose(Window, Boolean) | Added here by necessity --&gt; should be in Win32Api or other helper class not sure if this working for WPF... |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetEnumerator() | Iterates through the applications.(Inherited from DesktopApplicationUIBase.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetSelectedApplication() | Gets the selected application regardless of how its hosted.(Inherited from DesktopApplicationUIBase.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
NextPanel() | Gets the panel after the one which has the current focus in the interface. (Overrides DesktopApplicationUIBase.NextPanel().) |
|
RemoveApplication(Object) | Removes the passed in application from the UI, regardless of which panel it is in.(Overrides DesktopApplicationUIBase.RemoveApplication(Object).) |
|
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.(Overrides DesktopApplicationUIBase.SelectApplication(Guid).) |
|
SetRedraw(Boolean) | Enables/Disables redrawing of the hosted application panels to make the UI look cleaner when redrawing many items.(Overrides DesktopApplicationUIBase.SetRedraw(Boolean).) |
|
ToString() | (Inherited from Object.) |
Fields
Name | Description | |
---|---|---|
OpaquenessLevel | Specifies the 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.Wpf Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright