HostedWpfControl Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Represents the hosted control for creating WPF applications by wrapping the most common operations into a base class.
Namespace: Microsoft.Uii.Csr.Aif.HostedApplication
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Inheritance Hierarchy
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Control
System.Windows.Controls.ContentControl
System.Windows.Controls.UserControl
Microsoft.Uii.Csr.Aif.HostedApplication.HostedWpfControl
Microsoft.Crm.UnifiedServiceDesk.Dynamics.CRMDialogs
Microsoft.Crm.UnifiedServiceDesk.Dynamics.DynamicsBaseHostedControl
Syntax
[SmartPartAttribute]
public class HostedWpfControl : UserControl, IHostedApplication5,
IHostedApplication4, IHostedApplication3, IHostedApplication2,
IHostedApplication
<SmartPartAttribute>
Public Class HostedWpfControl
Inherits UserControl
Implements IHostedApplication5, IHostedApplication4, IHostedApplication3,
IHostedApplication2, IHostedApplication
Constructors
Name | Description | |
---|---|---|
HostedWpfControl() | Initializes a new instance of the HostedWpfControl class. |
|
HostedWpfControl(Guid, String, String) | Initializes a new instance of the HostedWpfControl class. |
Properties
Name | Description | |
---|---|---|
ActualHeight | (Inherited from FrameworkElement.) |
|
ActualWidth | (Inherited from FrameworkElement.) |
|
AgentID | Gets or sets the agent ID. |
|
AllowDrop | (Inherited from UIElement.) |
|
AppHostWorkItem | Gets or sets the application host work item. |
|
ApplicationHost | Gets or sets the host application. |
|
ApplicationID | Gets the unique id for this hosted application. |
|
ApplicationName | Gets the name of the hosted application. |
|
AreAnyTouchesCaptured | (Inherited from UIElement.) |
|
AreAnyTouchesCapturedWithin | (Inherited from UIElement.) |
|
AreAnyTouchesDirectlyOver | (Inherited from UIElement.) |
|
AreAnyTouchesOver | (Inherited from UIElement.) |
|
Background | (Inherited from Control.) |
|
BindingGroup | (Inherited from FrameworkElement.) |
|
BitmapEffect | (Inherited from UIElement.) |
|
BitmapEffectInput | (Inherited from UIElement.) |
|
BorderBrush | (Inherited from Control.) |
|
BorderThickness | (Inherited from Control.) |
|
CacheMode | (Inherited from UIElement.) |
|
CanEmbed | Gets a Boolean value that specifies whether the application can be hosted within the UII panels. |
|
Clip | (Inherited from UIElement.) |
|
ClipToBounds | (Inherited from UIElement.) |
|
CommandBindings | (Inherited from UIElement.) |
|
ConfigurationReader | Gets or set the hosted controls configuration value reader object. |
|
Content | (Inherited from ContentControl.) |
|
ContentStringFormat | (Inherited from ContentControl.) |
|
ContentTemplate | (Inherited from ContentControl.) |
|
ContentTemplateSelector | (Inherited from ContentControl.) |
|
Context | Gets or sets the session-wide context. Modifying this also notifies other applications of the context change. |
|
ContextMenu | (Inherited from FrameworkElement.) |
|
Cursor | (Inherited from FrameworkElement.) |
|
DataContext | (Inherited from FrameworkElement.) |
|
DefaultStyleKey | (Inherited from FrameworkElement.) |
|
DependencyObjectType | (Inherited from DependencyObject.) |
|
DesiredSize | (Inherited from UIElement.) |
|
Dispatcher | (Inherited from DispatcherObject.) |
|
DisplayGroup | Gets the name of the UII panel this application is hosted within. |
|
Effect | (Inherited from UIElement.) |
|
EnableAutoSignOn | Gets the Boolean value that specifies whether auto sign on is enabled. |
|
FlowDirection | (Inherited from FrameworkElement.) |
|
Focusable | (Inherited from UIElement.) |
|
FocusVisualStyle | (Inherited from FrameworkElement.) |
|
FontFamily | (Inherited from Control.) |
|
FontSize | (Inherited from Control.) |
|
FontStretch | (Inherited from Control.) |
|
FontStyle | (Inherited from Control.) |
|
FontWeight | (Inherited from Control.) |
|
ForceCursor | (Inherited from FrameworkElement.) |
|
Foreground | (Inherited from Control.) |
|
HandlesScrolling | (Inherited from Control.) |
|
HasAnimatedProperties | (Inherited from UIElement.) |
|
HasContent | (Inherited from ContentControl.) |
|
Height | (Inherited from FrameworkElement.) |
|
HorizontalAlignment | (Inherited from FrameworkElement.) |
|
HorizontalContentAlignment | (Inherited from Control.) |
|
HostedApplicationAdapter | ||
Icon | Obsolete. Gets or sets the icone. |
|
ImageSource | Gets or sets the image source. |
|
ImplementedAsCcf20 | Gets a Boolean value that specifies whether the system runs certain routines as CCF 2.0 or prior. |
|
InheritanceBehavior | (Inherited from FrameworkElement.) |
|
InputBindings | (Inherited from UIElement.) |
|
InputScope | (Inherited from FrameworkElement.) |
|
IsAdapterSessionController | Gets a boolean value that specifies whether the adapter is a session controller. |
|
IsArrangeValid | (Inherited from UIElement.) |
|
IsDynamic | Gets or sets a Boolean value that specifies whether this instance is dynamic. |
|
IsEnabled | (Inherited from UIElement.) |
|
IsEnabledCore | (Inherited from UIElement.) |
|
IsFocused | (Inherited from UIElement.) |
|
IsGlobal | Gets or sets a Boolean value that specifies whether the hosted application is global. |
|
IsHitTestVisible | (Inherited from UIElement.) |
|
IsInitialized | (Inherited from FrameworkElement.) |
|
IsInputMethodEnabled | (Inherited from UIElement.) |
|
IsKeyboardFocused | (Inherited from UIElement.) |
|
IsKeyboardFocusWithin | (Inherited from UIElement.) |
|
IsListed | Gets a Boolean value that specifies whether the application is listed in SessionExplorer or CurrentSessionUI |
|
IsLoaded | (Inherited from FrameworkElement.) |
|
IsManipulationEnabled | (Inherited from UIElement.) |
|
IsMeasureValid | (Inherited from UIElement.) |
|
IsMouseCaptured | (Inherited from UIElement.) |
|
IsMouseCaptureWithin | (Inherited from UIElement.) |
|
IsMouseDirectlyOver | (Inherited from UIElement.) |
|
IsMouseOver | (Inherited from UIElement.) |
|
IsNavigating | Gets a Boolean value that specifies whether the application is changing its state. |
|
IsSealed | (Inherited from DependencyObject.) |
|
IsStylusCaptured | (Inherited from UIElement.) |
|
IsStylusCaptureWithin | (Inherited from UIElement.) |
|
IsStylusDirectlyOver | (Inherited from UIElement.) |
|
IsStylusOver | (Inherited from UIElement.) |
|
IsTabStop | (Inherited from Control.) |
|
IsTagged | Gets or sets a Boolean value that specifies whether the application is dependent on workflow. |
|
IsVisible | (Inherited from UIElement.) |
|
Language | (Inherited from FrameworkElement.) |
|
LayoutTransform | (Inherited from FrameworkElement.) |
|
LogicalChildren | (Inherited from ContentControl.) |
|
Margin | (Inherited from FrameworkElement.) |
|
MaxHeight | (Inherited from FrameworkElement.) |
|
MaxWidth | (Inherited from FrameworkElement.) |
|
MinHeight | (Inherited from FrameworkElement.) |
|
MinimumSize | Gets or sets the minimum size up to which the control can be resized. |
|
MinWidth | (Inherited from FrameworkElement.) |
|
Name | (Inherited from FrameworkElement.) |
|
Opacity | (Inherited from UIElement.) |
|
OpacityMask | (Inherited from UIElement.) |
|
OptimumSize | Gets the size the optimum size of the application’s window. |
|
OverridesDefaultStyle | (Inherited from FrameworkElement.) |
|
Padding | (Inherited from Control.) |
|
Parent | (Inherited from FrameworkElement.) |
|
PersistId | (Inherited from UIElement.) |
|
RenderSize | (Inherited from UIElement.) |
|
RenderTransform | (Inherited from UIElement.) |
|
RenderTransformOrigin | (Inherited from UIElement.) |
|
Resources | (Inherited from FrameworkElement.) |
|
SessionManager | Sets the session manager. |
|
SnapsToDevicePixels | (Inherited from UIElement.) |
|
Style | (Inherited from FrameworkElement.) |
|
StylusPlugIns | (Inherited from UIElement.) |
|
TabIndex | (Inherited from Control.) |
|
Tag | (Inherited from FrameworkElement.) |
|
Template | (Inherited from Control.) |
|
TemplatedParent | (Inherited from FrameworkElement.) |
|
Text | Gets or sets the text for the window or tab control containing this application. |
|
ToolTip | (Inherited from FrameworkElement.) |
|
TopLevelWindow | Obsolete. Gets the top level window of this hosted app. |
|
TopLevelWpfWindow | Gets the top level wpf window of the hosted application. |
|
TouchesCaptured | (Inherited from UIElement.) |
|
TouchesCapturedWithin | (Inherited from UIElement.) |
|
TouchesDirectlyOver | (Inherited from UIElement.) |
|
TouchesOver | (Inherited from UIElement.) |
|
Triggers | (Inherited from FrameworkElement.) |
|
Uid | (Inherited from UIElement.) |
|
UseLayoutRounding | (Inherited from FrameworkElement.) |
|
VerticalAlignment | (Inherited from FrameworkElement.) |
|
VerticalContentAlignment | (Inherited from Control.) |
|
Visibility | (Inherited from UIElement.) |
|
VisualBitmapEffect | (Inherited from Visual.) |
|
VisualBitmapEffectInput | (Inherited from Visual.) |
|
VisualBitmapScalingMode | (Inherited from Visual.) |
|
VisualCacheMode | (Inherited from Visual.) |
|
VisualChildrenCount | (Inherited from FrameworkElement.) |
|
VisualClearTypeHint | (Inherited from Visual.) |
|
VisualClip | (Inherited from Visual.) |
|
VisualEdgeMode | (Inherited from Visual.) |
|
VisualEffect | (Inherited from Visual.) |
|
VisualOffset | (Inherited from Visual.) |
|
VisualOpacity | (Inherited from Visual.) |
|
VisualOpacityMask | (Inherited from Visual.) |
|
VisualParent | (Inherited from Visual.) |
|
VisualScrollableAreaClip | (Inherited from Visual.) |
|
VisualTextHintingMode | (Inherited from Visual.) |
|
VisualTextRenderingMode | (Inherited from Visual.) |
|
VisualTransform | (Inherited from Visual.) |
|
VisualXSnappingGuidelines | (Inherited from Visual.) |
|
VisualYSnappingGuidelines | (Inherited from Visual.) |
|
Width | (Inherited from FrameworkElement.) |
Methods
Fields
Name | Description | |
---|---|---|
_applicationInitString | ||
actions | Specifies a dictionary of associated actions |
|
actionsByID | Specifies a dictionary of associated actions. |
Events
Explicit Interface Implementations
Name | Description | |
---|---|---|
IAddChild.AddChild(Object) | (Inherited from ContentControl.) |
|
IAddChild.AddText(String) | (Inherited from ContentControl.) |
|
IQueryAmbient.IsAmbientPropertyAvailable(String) | (Inherited from FrameworkElement.) |
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.Csr.Aif.HostedApplication Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright