WpfBrowser Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Hosts the CRM and web pages in Unified Service Desk and navigates between them. Enables interoperability between Windows Presentation Foundation (WPF) managed code and HTML script.
Namespace: Microsoft.Crm.UnifiedServiceDesk.Dynamics.Controls
Assembly: Microsoft.Crm.UnifiedServiceDesk.Dynamics (in Microsoft.Crm.UnifiedServiceDesk.Dynamics.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.Crm.UnifiedServiceDesk.Dynamics.Controls.WpfBrowser
Syntax
public sealed class WpfBrowser : UserControl, IDisposable
Public NotInheritable Class WpfBrowser
Inherits UserControl
Implements IDisposable
Constructors
Name | Description | |
---|---|---|
WpfBrowser(String) | Initializes a new instance of the WpfBrowser class. |
Properties
Methods
Fields
Name | Description | |
---|---|---|
_webBrowser | ||
ApplicationName | Specifies the application name. |
|
WM_DESTROY | ||
WM_PARENTNOTIFY |
Events
Name | Description | |
---|---|---|
BeforeNavigate | Fires when DWebBrowserEvents2, BeforeNavigate2 event fires. |
|
BeforeNavigate_ | Fires before navigation occurs in the given object (on either a window element or frameset element). Deprecated. |
|
BeforeNavigate2 | Fires before navigation occurs in the given object (on either a window element or a frameset element). |
|
BeforeNewWindow | Fires when DWebBrowserEvents2, NewWindow2 and NewWindow3 events fire. |
|
BrowserNavigating | ||
BrowserObjectAppeared | Fires when the browser process object (IWebBrowser2) appears, providing an opportunity to manipulate its properties. |
|
BrowserProcessExited | Fires when the hosted browser process exits when the WebBrowserExtended control is still valid (not disposed). |
|
ClientToHostWindow | Fires to request that the client window size is converted to the host window size. |
|
Closing | ||
CommandStateChange | Fires when the enabled state of a command changes. |
|
ContextMenuClosing | (Inherited from FrameworkElement.) |
|
ContextMenuOpening | (Inherited from FrameworkElement.) |
|
DataContextChanged | (Inherited from FrameworkElement.) |
|
DocumentComplete | Fires when a document is completely loaded and initialized. |
|
DocumentCompleted | ||
DocumentReady | ||
DownloadBegin | Fires when a navigation operation begins. |
|
DownloadComplete | Fires when a navigation operation finishes, is halted or fails. |
|
DownloadCompleted | ||
DownloadStarted | ||
DragEnter | (Inherited from UIElement.) |
|
DragLeave | (Inherited from UIElement.) |
|
DragOver | (Inherited from UIElement.) |
|
Drop | (Inherited from UIElement.) |
|
FileDownload | Fires to indicate that a file download is about to occur. |
|
FocusableChanged | (Inherited from UIElement.) |
|
FrameBeforeNavigate | Fires before navigation occurs in the given object. Deprecated. |
|
FrameNavigateComplete | Fires after a navigation to a link is completed on either a window element or a frameset element. Deprecated. |
|
FrameNewWindow | Fires when a new window is to be created. Deprecated. |
|
GiveFeedback | (Inherited from UIElement.) |
|
GotFocus | (Inherited from UIElement.) |
|
GotKeyboardFocus | (Inherited from UIElement.) |
|
GotMouseCapture | (Inherited from UIElement.) |
|
GotStylusCapture | (Inherited from UIElement.) |
|
GotTouchCapture | (Inherited from UIElement.) |
|
Initialized | (Inherited from FrameworkElement.) |
|
IsEnabledChanged | (Inherited from UIElement.) |
|
IsHitTestVisibleChanged | (Inherited from UIElement.) |
|
IsKeyboardFocusedChanged | (Inherited from UIElement.) |
|
IsKeyboardFocusWithinChanged | (Inherited from UIElement.) |
|
IsMouseCapturedChanged | (Inherited from UIElement.) |
|
IsMouseCaptureWithinChanged | (Inherited from UIElement.) |
|
IsMouseDirectlyOverChanged | (Inherited from UIElement.) |
|
IsStylusCapturedChanged | (Inherited from UIElement.) |
|
IsStylusCaptureWithinChanged | (Inherited from UIElement.) |
|
IsStylusDirectlyOverChanged | (Inherited from UIElement.) |
|
IsVisibleChanged | (Inherited from UIElement.) |
|
KeyDown | (Inherited from UIElement.) |
|
KeyUp | (Inherited from UIElement.) |
|
LayoutUpdated | (Inherited from UIElement.) |
|
Loaded | (Inherited from FrameworkElement.) |
|
LostFocus | (Inherited from UIElement.) |
|
LostKeyboardFocus | (Inherited from UIElement.) |
|
LostMouseCapture | (Inherited from UIElement.) |
|
LostStylusCapture | (Inherited from UIElement.) |
|
LostTouchCapture | (Inherited from UIElement.) |
|
ManipulationBoundaryFeedback | (Inherited from UIElement.) |
|
ManipulationCompleted | (Inherited from UIElement.) |
|
ManipulationDelta | (Inherited from UIElement.) |
|
ManipulationInertiaStarting | (Inherited from UIElement.) |
|
ManipulationStarted | (Inherited from UIElement.) |
|
ManipulationStarting | (Inherited from UIElement.) |
|
MouseDoubleClick | (Inherited from Control.) |
|
MouseDown | (Inherited from UIElement.) |
|
MouseEnter | (Inherited from UIElement.) |
|
MouseLeave | (Inherited from UIElement.) |
|
MouseLeftButtonDown | (Inherited from UIElement.) |
|
MouseLeftButtonUp | (Inherited from UIElement.) |
|
MouseMove | (Inherited from UIElement.) |
|
MouseRightButtonDown | (Inherited from UIElement.) |
|
MouseRightButtonUp | (Inherited from UIElement.) |
|
MouseUp | (Inherited from UIElement.) |
|
MouseWheel | (Inherited from UIElement.) |
|
NavigateComplete | Fires after a navigation to a link is completed on either a window element or a frameset element. Deprecated. |
|
NavigateComplete2 | Fires after a navigation to a link is completed on a window element or a frameset element. |
|
Navigated | ||
NavigateError | Fires when an error occurs during navigation. |
|
NewWindow | Fires when a new window is to be created. Deprecated. |
|
NewWindow2 | Fires when a new window is to be created. |
|
NewWindow3 | Raised when a window is to be created. |
|
OnFullScreen | Fires when the IWebBrowser2 full screen property is changed. |
|
OnMenuBar | Fires when the IWebBrowser2 menu bar property is changed. |
|
OnQuit | Fires before Internet Explorer application quits. Deprecated. |
|
OnStatusBar | Fires when the IWebBrowser2 status bar property is changed. |
|
OnTheaterMode | Fires when the IWebBrowser2 theater mode property is changed. |
|
OnToolBar | Fires when the IWebBrowser2 tool bar property is changed. |
|
OnVisible | Fires when the IWebBrowser2 visible property is changed. |
|
PageLoadComplete | Fires when the browser object has finished downloading the entire page. |
|
PreviewDragEnter | (Inherited from UIElement.) |
|
PreviewDragLeave | (Inherited from UIElement.) |
|
PreviewDragOver | (Inherited from UIElement.) |
|
PreviewDrop | (Inherited from UIElement.) |
|
PreviewGiveFeedback | (Inherited from UIElement.) |
|
PreviewGotKeyboardFocus | (Inherited from UIElement.) |
|
PreviewKeyDown | (Inherited from UIElement.) |
|
PreviewKeyUp | (Inherited from UIElement.) |
|
PreviewLostKeyboardFocus | (Inherited from UIElement.) |
|
PreviewMouseDoubleClick | (Inherited from Control.) |
|
PreviewMouseDown | (Inherited from UIElement.) |
|
PreviewMouseLeftButtonDown | (Inherited from UIElement.) |
|
PreviewMouseLeftButtonUp | (Inherited from UIElement.) |
|
PreviewMouseMove | (Inherited from UIElement.) |
|
PreviewMouseRightButtonDown | (Inherited from UIElement.) |
|
PreviewMouseRightButtonUp | (Inherited from UIElement.) |
|
PreviewMouseUp | (Inherited from UIElement.) |
|
PreviewMouseWheel | (Inherited from UIElement.) |
|
PreviewQueryContinueDrag | (Inherited from UIElement.) |
|
PreviewStylusButtonDown | (Inherited from UIElement.) |
|
PreviewStylusButtonUp | (Inherited from UIElement.) |
|
PreviewStylusDown | (Inherited from UIElement.) |
|
PreviewStylusInAirMove | (Inherited from UIElement.) |
|
PreviewStylusInRange | (Inherited from UIElement.) |
|
PreviewStylusMove | (Inherited from UIElement.) |
|
PreviewStylusOutOfRange | (Inherited from UIElement.) |
|
PreviewStylusSystemGesture | (Inherited from UIElement.) |
|
PreviewStylusUp | (Inherited from UIElement.) |
|
PreviewTextInput | (Inherited from UIElement.) |
|
PreviewTouchDown | (Inherited from UIElement.) |
|
PreviewTouchMove | (Inherited from UIElement.) |
|
PreviewTouchUp | (Inherited from UIElement.) |
|
PrintTemplateInstantiation | Fires when a print template is instantiated. |
|
PrintTemplateTeardown | Fires when a print template is instantiated. |
|
PrivacyImpactedStateChange | Fires when an event that impacts privacy occurs, or when a user navigates away from a URL that has impacted privacy. |
|
ProgressChange | Fires when the progress of a download operation is updated on the object. |
|
PropertyChange | Fires when the IWebBrowser2 PutProperty method of the object changes the value of a property. |
|
QueryContinueDrag | (Inherited from UIElement.) |
|
QueryCursor | (Inherited from UIElement.) |
|
RequestBringIntoView | (Inherited from FrameworkElement.) |
|
SetPhishingFilterStatus | Fires to indicate the progress and status of Microsoft Phishing Filter analysis of the current webpage. |
|
SetSecureLockIcon | Fires when there is a change in encryption level. |
|
SizeChanged | (Inherited from FrameworkElement.) |
|
SourceUpdated | (Inherited from FrameworkElement.) |
|
StatusTextChange | Fires when the status bar text of the object has changed. |
|
StylusButtonDown | (Inherited from UIElement.) |
|
StylusButtonUp | (Inherited from UIElement.) |
|
StylusDown | (Inherited from UIElement.) |
|
StylusEnter | (Inherited from UIElement.) |
|
StylusInAirMove | (Inherited from UIElement.) |
|
StylusInRange | (Inherited from UIElement.) |
|
StylusLeave | (Inherited from UIElement.) |
|
StylusMove | (Inherited from UIElement.) |
|
StylusOutOfRange | (Inherited from UIElement.) |
|
StylusSystemGesture | (Inherited from UIElement.) |
|
StylusUp | (Inherited from UIElement.) |
|
TargetUpdated | (Inherited from FrameworkElement.) |
|
TextInput | (Inherited from UIElement.) |
|
TitleChange | Fires when the status bar text of the object has changed. |
|
ToolTipClosing | (Inherited from FrameworkElement.) |
|
ToolTipOpening | (Inherited from FrameworkElement.) |
|
TouchDown | (Inherited from UIElement.) |
|
TouchEnter | (Inherited from UIElement.) |
|
TouchLeave | (Inherited from UIElement.) |
|
TouchMove | (Inherited from UIElement.) |
|
TouchUp | (Inherited from UIElement.) |
|
Unloaded | (Inherited from FrameworkElement.) |
|
UpdatePageStatus | ||
WindowClosing | Fires when the window of the object is about to be closed by script. |
|
WindowSetHeight | Fires when the object changes its height. |
|
WindowSetLeft | Fires when the object changes its left position. |
|
WindowSetResizable | Fires to indicate whether the host window should allow resizing of the object. |
|
WindowSetTop | Fires when the object changes its top position. |
|
WindowSetWidth | Fires when the object changes its width. |
|
WindowStateChanged | Fires when the visibility state of a content window, such as the browser window or a tab changes. |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IAddChild.AddChild(Object) | (Inherited from ContentControl.) |
|
IAddChild.AddText(String) | (Inherited from ContentControl.) |
|
IQueryAmbient.IsAmbientPropertyAvailable(String) | (Inherited from FrameworkElement.) |
Remarks
This control is based on the WPF WebBrowser control.
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.Crm.UnifiedServiceDesk.Dynamics.Controls Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright