WebBrowserExtended Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Represents the UII extended web browser control.
Namespace: Microsoft.Uii.Csr.Browser.Web
Assembly: Microsoft.Uii.Csr.Browser.Web (in Microsoft.Uii.Csr.Browser.Web.dll)
Inheritance Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Windows.Forms.Control
System.Windows.Forms.ScrollableControl
System.Windows.Forms.ContainerControl
System.Windows.Forms.UserControl
Microsoft.Uii.Csr.Browser.Web.WebBrowserExtended
Syntax
[ToolboxBitmapAttribute(typeof(WebBrowserExtended), "ie.ico")]
[SecurityPermissionAttribute(SecurityAction.LinkDemand)]
[PermissionSetAttribute(SecurityAction.LinkDemand, Name = "FullTrust")]
[PermissionSetAttribute(SecurityAction.InheritanceDemand, Name = "FullTrust")]
public class WebBrowserExtended : UserControl, IWebBrowser
<ToolboxBitmapAttribute(GetType(WebBrowserExtended), "ie.ico")>
<SecurityPermissionAttribute(SecurityAction.LinkDemand)>
<PermissionSetAttribute(SecurityAction.LinkDemand, Name := "FullTrust")>
<PermissionSetAttribute(SecurityAction.InheritanceDemand, Name := "FullTrust")>
Public Class WebBrowserExtended
Inherits UserControl
Implements IWebBrowser
Constructors
Name | Description | |
---|---|---|
WebBrowserExtended() | Initializes an instance of the WebBrowserExtended class using the background Internet Explorer process using dynamic window positioning technique. |
|
WebBrowserExtended(Boolean) | Initializes an instance of the WebBrowserExtended control. |
|
WebBrowserExtended(Boolean, Boolean, Boolean) | Initializes an instance of the WebBrowserExtended control. |
Properties
Name | Description | |
---|---|---|
AccessibilityObject | (Inherited from Control.) |
|
AccessibleDefaultActionDescription | (Inherited from Control.) |
|
AccessibleDescription | (Inherited from Control.) |
|
AccessibleName | (Inherited from Control.) |
|
AccessibleRole | (Inherited from Control.) |
|
ActiveControl | (Inherited from ContainerControl.) |
|
AllowDrop | (Inherited from Control.) |
|
Anchor | (Inherited from Control.) |
|
AutoScaleDimensions | (Inherited from ContainerControl.) |
|
AutoScaleFactor | (Inherited from ContainerControl.) |
|
AutoScaleMode | (Inherited from ContainerControl.) |
|
AutoScroll | (Inherited from ScrollableControl.) |
|
AutoScrollMargin | (Inherited from ScrollableControl.) |
|
AutoScrollMinSize | (Inherited from ScrollableControl.) |
|
AutoScrollOffset | (Inherited from Control.) |
|
AutoScrollPosition | (Inherited from ScrollableControl.) |
|
AutoSize | (Inherited from UserControl.) |
|
AutoSizeMode | (Inherited from UserControl.) |
|
AutoValidate | (Inherited from UserControl.) |
|
BackColor | (Inherited from Control.) |
|
BackgroundImage | (Inherited from Control.) |
|
BackgroundImageLayout | (Inherited from Control.) |
|
BindingContext | (Inherited from ContainerControl.) |
|
BorderStyle | (Inherited from UserControl.) |
|
Bottom | (Inherited from Control.) |
|
Bounds | (Inherited from Control.) |
|
CanEnableIme | (Inherited from ContainerControl.) |
|
CanFocus | (Inherited from Control.) |
|
CanRaiseEvents | (Inherited from Control.) |
|
CanSelect | (Inherited from Control.) |
|
Capture | (Inherited from Control.) |
|
CausesValidation | (Inherited from Control.) |
|
ClientRectangle | (Inherited from Control.) |
|
ClientSize | (Inherited from Control.) |
|
CompanyName | (Inherited from Control.) |
|
Container | (Inherited from Component.) |
|
ContainsFocus | (Inherited from Control.) |
|
ContextMenu | (Inherited from Control.) |
|
ContextMenuStrip | (Inherited from Control.) |
|
Controls | (Inherited from Control.) |
|
Created | (Inherited from Control.) |
|
CreateParams | (Inherited from UserControl.) |
|
CurrentAutoScaleDimensions | (Inherited from ContainerControl.) |
|
Cursor | (Inherited from Control.) |
|
DataBindings | (Inherited from Control.) |
|
DefaultCursor | (Inherited from Control.) |
|
DefaultImeMode | (Inherited from Control.) |
|
DefaultMargin | (Inherited from Control.) |
|
DefaultMaximumSize | (Inherited from Control.) |
|
DefaultMinimumSize | (Inherited from Control.) |
|
DefaultPadding | (Inherited from Control.) |
|
DefaultSize | (Inherited from UserControl.) |
|
DesignMode | (Inherited from Component.) |
|
DisplayRectangle | (Inherited from ScrollableControl.) |
|
Disposing | (Inherited from Control.) |
|
Dock | (Inherited from Control.) |
|
Document | Gets an mshtml.HTMLDocument (an RCW) representing the web page currently displayed in the WebBrowserExtended control. |
|
DoubleBuffered | (Inherited from Control.) |
|
Enabled | (Inherited from Control.) |
|
Events | (Inherited from Component.) |
|
Focused | (Inherited from Control.) |
|
Font | (Inherited from Control.) |
|
FontHeight | (Inherited from Control.) |
|
ForeColor | (Inherited from Control.) |
|
Handle | (Inherited from Control.) |
|
HasChildren | (Inherited from Control.) |
|
Height | (Inherited from Control.) |
|
HorizontalScroll | (Inherited from ScrollableControl.) |
|
HostOnTop | Gets a Boolean value that specifies whether the host is on top. |
|
HScroll | (Inherited from ScrollableControl.) |
|
IEFrameHandle | Gets the handle of started browser window. |
|
ImeMode | (Inherited from Control.) |
|
ImeModeBase | (Inherited from Control.) |
|
InvokeRequired | (Inherited from Control.) |
|
IsAccessible | (Inherited from Control.) |
|
isAppClosing | Gets or sets a Boolean value that specifies whether the application is closing. |
|
IsBusy | Gets a value that specifies whether the WebBrowser control is currently loading a new document. |
|
IsDisposed | (Inherited from Control.) |
|
IsHandleCreated | (Inherited from Control.) |
|
IsMirrored | (Inherited from Control.) |
|
IsOffline | Gets a value that specifies whether the WebBrowser control is in offline mode. |
|
LayoutEngine | (Inherited from Control.) |
|
Left | (Inherited from Control.) |
|
Location | (Inherited from Control.) |
|
MainWindow | Gets or sets the top-level window handle of the WebBrowser. |
|
Margin | (Inherited from Control.) |
|
MaximumSize | (Inherited from Control.) |
|
MinimumSize | (Inherited from Control.) |
|
Name | (Inherited from Control.) |
|
Padding | (Inherited from Control.) |
|
Parent | (Inherited from Control.) |
|
ParentForm | (Inherited from ContainerControl.) |
|
PreferredSize | (Inherited from Control.) |
|
ProductName | (Inherited from Control.) |
|
ProductVersion | (Inherited from Control.) |
|
ReadyState | Gets a value that specifies the current state of the WebBrowser control. |
|
RecreatingHandle | (Inherited from Control.) |
|
Region | (Inherited from Control.) |
|
RenderRightToLeft | (Inherited from Control.) |
|
ResizeRedraw | (Inherited from Control.) |
|
Right | (Inherited from Control.) |
|
RightToLeft | (Inherited from Control.) |
|
ScaleChildren | (Inherited from Control.) |
|
ShowFocusCues | (Inherited from Control.) |
|
ShowKeyboardCues | (Inherited from Control.) |
|
Site | (Inherited from Control.) |
|
Size | (Inherited from Control.) |
|
StatusText | Gets the status text of the WebBrowser control. |
|
TabIndex | (Inherited from Control.) |
|
TabStop | (Inherited from Control.) |
|
Tag | (Inherited from Control.) |
|
Text | (Inherited from Control.) |
|
Top | (Inherited from Control.) |
|
TopLevelControl | (Inherited from Control.) |
|
Url | Gets or sets the URL of the current document. |
|
UseWaitCursor | (Inherited from Control.) |
|
Version | Gets the version of Internet Explorer installed. |
|
VerticalScroll | (Inherited from ScrollableControl.) |
|
Visible | (Inherited from Control.) |
|
VScroll | (Inherited from ScrollableControl.) |
|
WebBrowser | Gets the IWebBrowser2 object instance contained within this control. |
|
WebBrowserExtendedState | Gets the current state of the WebBrowserExtended control. |
|
Width | (Inherited from Control.) |
Methods
Events
Name | Description | |
---|---|---|
AutoSizeChanged | (Inherited from UserControl.) |
|
AutoValidateChanged | (Inherited from UserControl.) |
|
BackColorChanged | (Inherited from Control.) |
|
BackgroundImageChanged | (Inherited from Control.) |
|
BackgroundImageLayoutChanged | (Inherited from Control.) |
|
BeforeNavigate | Fires when BeforeNavigate2 event fires. |
|
BeforeNavigate_ | Fires before navigation occurs in the given object (on either a window 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 NewWindow2and NewWindow3 events fire. |
|
BindingContextChanged | (Inherited from Control.) |
|
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). |
|
CausesValidationChanged | (Inherited from Control.) |
|
ChangeUICues | (Inherited from Control.) |
|
Click | (Inherited from Control.) |
|
ClientSizeChanged | (Inherited from Control.) |
|
ClientToHostWindow | Fires to request that the client window size is converted to the host window size. |
|
CommandStateChange | Fires when the enabled state of a command changes. |
|
ContextMenuChanged | (Inherited from Control.) |
|
ContextMenuStripChanged | (Inherited from Control.) |
|
ControlAdded | (Inherited from Control.) |
|
ControlRemoved | (Inherited from Control.) |
|
CursorChanged | (Inherited from Control.) |
|
Disposed | (Inherited from Component.) |
|
DockChanged | (Inherited from Control.) |
|
DocumentComplete | Fires when a document is completely loaded and initialized. |
|
DocumentCompleted | Same as DocumentComplete, included for backward compatibility |
|
DoubleClick | (Inherited from Control.) |
|
DownloadBegin | Fires when a navigation operation begins. |
|
DownloadComplete | Fires when a navigation operation finishes, is halted, or fails. |
|
DownloadCompleted | Same as DownloadComplete, included for backward compatibility. |
|
DownloadStarted | Same as DownloadBegin, included for backward compatibility. |
|
DragDrop | (Inherited from Control.) |
|
DragEnter | (Inherited from Control.) |
|
DragLeave | (Inherited from Control.) |
|
DragOver | (Inherited from Control.) |
|
EnabledChanged | (Inherited from Control.) |
|
Enter | (Inherited from Control.) |
|
FileDownload | Fires to indicate that a file download is about to occur. If a file download dialog box can be displayed, this event fires prior to the appearance of the dialog box. |
|
FontChanged | (Inherited from Control.) |
|
ForeColorChanged | (Inherited from Control.) |
|
FrameBeforeNavigate | Fires before navigation occurs in the given object (on either a window or frameset element). (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 Control.) |
|
GotFocus | (Inherited from Control.) |
|
HandleCreated | (Inherited from Control.) |
|
HandleDestroyed | (Inherited from Control.) |
|
HelpRequested | (Inherited from Control.) |
|
ImeModeChanged | (Inherited from Control.) |
|
Invalidated | (Inherited from Control.) |
|
KeyDown | (Inherited from Control.) |
|
KeyPress | (Inherited from Control.) |
|
KeyUp | (Inherited from Control.) |
|
Layout | (Inherited from Control.) |
|
Leave | (Inherited from Control.) |
|
Load | (Inherited from UserControl.) |
|
LocationChanged | (Inherited from Control.) |
|
LostFocus | (Inherited from Control.) |
|
MarginChanged | (Inherited from Control.) |
|
MouseCaptureChanged | (Inherited from Control.) |
|
MouseClick | (Inherited from Control.) |
|
MouseDoubleClick | (Inherited from Control.) |
|
MouseDown | (Inherited from Control.) |
|
MouseEnter | (Inherited from Control.) |
|
MouseHover | (Inherited from Control.) |
|
MouseLeave | (Inherited from Control.) |
|
MouseMove | (Inherited from Control.) |
|
MouseUp | (Inherited from Control.) |
|
MouseWheel | (Inherited from Control.) |
|
Move | (Inherited from Control.) |
|
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 | Same as NavigateComplete2, included for backward compatibility |
|
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 new window is to be created. Extends NewWindow2 with additional information about the new window. Available in WinXP SP2 and later. |
|
OnFullScreen | Fires when the FullScreenproperty is changed. |
|
OnMenuBar | Fires when the MenuBar property is changed. |
|
OnQuit | Obsolete. Fires before the Internet Explorer application quits. (deprecated) |
|
OnStatusBar | Fires when the StatusBar property is changed. |
|
OnTheaterMode | Fires when the TheaterMode property is changed. |
|
OnToolBar | Fires when the ToolBarproperty is changed. |
|
OnVisible | Fires when the Visible property of the object is changed. |
|
PaddingChanged | (Inherited from Control.) |
|
PageLoadComplete | Fires when the browser object has finished downloading the entire page. |
|
Paint | (Inherited from Control.) |
|
ParentChanged | (Inherited from Control.) |
|
PreviewKeyDown | (Inherited from Control.) |
|
PrintTemplateInstantiation | Fires when a print template is instantiated. |
|
PrintTemplateTeardown | Fires when a print template is instantiated. |
|
PrivacyImpactedStateChange | Fired when an event occurs that impacts privacy, 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. |
|
QueryAccessibilityHelp | (Inherited from Control.) |
|
QueryContinueDrag | (Inherited from Control.) |
|
Quit | Fires before the Internet Explorer application quits. |
|
RegionChanged | (Inherited from Control.) |
|
Resize | (Inherited from Control.) |
|
RightToLeftChanged | (Inherited from Control.) |
|
Scroll | (Inherited from ScrollableControl.) |
|
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 Control.) |
|
StatusTextChange | Fires when the status bar text of the object has changed. |
|
StyleChanged | (Inherited from Control.) |
|
SystemColorsChanged | (Inherited from Control.) |
|
TabIndexChanged | (Inherited from Control.) |
|
TabStopChanged | (Inherited from Control.) |
|
TextChanged | (Inherited from Control.) |
|
TitleChange | Fires when the status bar text of the object has changed. |
|
UpdatePageStatus | Not implemented. |
|
Validated | (Inherited from Control.) |
|
Validating | (Inherited from Control.) |
|
VisibleChanged | (Inherited from Control.) |
|
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 | |
---|---|---|
Object.Finalize() | (Inherited from Component.) |
|
IContainerControl.ActivateControl(Control) | (Inherited from ContainerControl.) |
|
IDropTarget.OnDragDrop(DragEventArgs) | (Inherited from Control.) |
|
IDropTarget.OnDragEnter(DragEventArgs) | (Inherited from Control.) |
|
IDropTarget.OnDragLeave(EventArgs) | (Inherited from Control.) |
|
IDropTarget.OnDragOver(DragEventArgs) | (Inherited from Control.) |
Remarks
Differs from the System.Windows.Forms.WebBrowser control in that a separate iexplore.exe process is launched, hosted, and managed by the control. Advantage is multiple instances of the same web browser application will not share in-memory cookies or authentication state.
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.Browser.Web Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright