Msdn system.windows.forms.webbrowser




















Occurs when the WebBrowser control finishes loading a document. The following code example demonstrates the use of this event to print a document after it has fully loaded. The WebBrowser control navigates to a new document whenever one of the following properties is set or methods is called:. Handle the DocumentCompleted event to receive notification when the new document finishes loading. When the DocumentCompleted event occurs, the new document is fully loaded, which means you can access its contents through the Document , DocumentText , or DocumentStream property.

To receive notification before navigation begins, handle the Navigating event. I've looked at all the documentation and examples I can find, but have had no luck. Any suggestions on how to get the Cookie property to be set before I involve the web server? Cookies this. Navigate selectedURL ;. Thursday, January 8, PM.

Hi , Have you found any solution to your problem? Thursday, January 20, AM. Wednesday, June 29, PM. Hi people. Just that idea of jumping from an httprequest to a browser, possible or not? Good night all of you. Sunday, February 26, AM.

Raises the DocumentCompleted event. Raises the DocumentTitleChanged event. Raises the DoubleClick event.

Raises the DpiChangedAfterParent event. Raises the DpiChangedBeforeParent event. Raises the DragDrop event. Raises the DragEnter event. Raises the DragLeave event. Raises the DragOver event. Raises the EnabledChanged event. Raises the EncryptionLevelChanged event. Raises the Enter event.

Raises the FileDownload event. Raises the FontChanged event. Raises the ForeColorChanged event. Raises the GiveFeedback event. Raises the GotFocus event. Raises the HandleCreated event. Raises the HandleDestroyed event. Raises the HelpRequested event. Raises the ImeModeChanged event. Raises the Invalidated event. Raises the KeyDown event. Raises the KeyPress event. Raises the KeyUp event. Raises the Layout event. Raises the Leave event. Raises the LocationChanged event.

Raises the LostFocus event. Raises the MarginChanged event. Raises the MouseCaptureChanged event. Raises the MouseClick event. Raises the MouseDoubleClick event. Raises the MouseDown event. Raises the MouseEnter event. Raises the MouseHover event. Raises the MouseLeave event. Raises the MouseMove event. Raises the MouseUp event. Raises the MouseWheel event.

Raises the Move event. Raises the Navigated event. Raises the Navigating event. Raises the NewWindow event. Raises the PaddingChanged event. Raises the Paint event. Raises the BackColorChanged event when the BackColor property value of the control's container changes. Raises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes. Raises the BindingContextChanged event when the BindingContext property value of the control's container changes.

Raises the EnabledChanged event when the Enabled property value of the control's container changes. Raises the FontChanged event when the Font property value of the control's container changes. Raises the ForeColorChanged event when the ForeColor property value of the control's container changes.

Raises the VisibleChanged event when the Visible property value of the control's container changes. Raises the PreviewKeyDown event. Raises the ProgressChanged event. Raises the QueryContinueDrag event. Raises the RegionChanged event.

Raises the Resize event. Raises the SizeChanged event. Raises the StatusTextChanged event. Raises the StyleChanged event. Raises the SystemColorsChanged event. Raises the TabIndexChanged event. Raises the TabStopChanged event. Raises the TextChanged event. Raises the Validated event. Raises the Validating event. Prints the document currently displayed in the WebBrowser control using the current print and page settings.

Reloads the document currently displayed in the WebBrowser control by checking the server for an updated version. Reloads the document currently displayed in the WebBrowser control using the specified refresh options.

Resets the BackColor property to its default value. Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values. Resets the Cursor property to its default value. Resets the Font property to its default value. Resets the ForeColor property to its default value. Resets the ImeMode property to its default value.

Resets the control to handle the MouseLeave event. Resets the RightToLeft property to its default value. Resets the Text property to its default value Empty. Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text. Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.

Activates a child control. Optionally specifies the direction in the tab order to select the control from. Sets a value indicating how a control will behave when its AutoSize property is enabled. Sets a specified ControlStyles flag to either true or false. Opens the Internet Explorer Print dialog box without setting header and footer values.

Cancels any pending navigation and stops any dynamic page elements, such as background sounds and animations. Returns a String containing the name of the Component , if any. This method should not be overridden. Occurs when the CanGoBack property value changes. Occurs when the CanGoForward property value changes. Occurs when the value of the CausesValidation property changes.

Occurs when the value of the ClientSize property changes. Occurs when the value of the ContextMenu property changes. Occurs when the value of the ContextMenuStrip property changes. Occurs when a new control is added to the Control. Occurs when a control is removed from the Control. Occurs when the component is disposed by a call to the Dispose method. Occurs when the value of the Dock property changes.

Occurs when the WebBrowser control finishes loading a document. Occurs when the DocumentTitle property value changes. Occurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed. Occurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred. Occurs when the WebBrowser control navigates to or away from a Web site that uses encryption.

Occurs when the WebBrowser control downloads a file. Occurs when the Location property value has changed. Occurs when the WebBrowser control has navigated to a new document and has begun loading it. Occurs before the WebBrowser control navigates to a new document. Occurs when the value of the Padding property changes. Occurs when the Parent property value changes. Occurs before the KeyDown event when a key is pressed while focus is on this control.

Occurs when the WebBrowser control has updated information on the download progress of a document it is navigating to. Occurs when the value of the Region property changes.

Occurs when the Size property value changes. Occurs when the StatusText property value changes. Occurs when the TabIndex property value changes. Occurs when the TabStop property value changes. Occurs when the Visible property value changes.

Skip to main content. This browser is no longer supported. Download Microsoft Edge More info. Contents Exit focus mode. Web Browser Class Reference Is this page helpful? Please rate your experience Yes No. Any additional feedback? Namespace: System. Forms Assembly: System. Enables the user to navigate Web pages inside your form.

Important The WebBrowser control is resource-intensive. Note This class makes security demands at the class level. OnDragLeave EventArgs. OnEnabledChanged EventArgs. OnEnter EventArgs.

OnFontChanged EventArgs. OnGotFocus EventArgs. OnHandleCreated EventArgs. OnHandleDestroyed EventArgs. OnInvalidated InvalidateEventArgs. OnLayout LayoutEventArgs. OnLeave EventArgs. OnLoad EventArgs. OnLocationChanged EventArgs. OnLostFocus EventArgs. OnMarginChanged EventArgs. OnMenuComplete EventArgs. OnMenuStart EventArgs. OnMouseEnter EventArgs. OnMouseHover EventArgs. OnMouseLeave EventArgs.

OnMove EventArgs. OnNotifyMessage Message. Notifies the control of Windows messages. OnPaddingChanged EventArgs. OnPaint PaintEventArgs. Paints the background of the control. OnParentChanged EventArgs. OnPrint PaintEventArgs. OnRegionChanged EventArgs. OnResize EventArgs. OnResizeBegin EventArgs. OnResizeEnd EventArgs. OnScroll ScrollEventArgs. OnShown EventArgs. OnSizeChanged EventArgs. OnStyleChanged EventArgs. OnTextChanged EventArgs. OnValidated EventArgs. OnValidating CancelEventArgs.

OnVisibleChanged EventArgs. Performs scaling of the container control and its children. Forces the control to apply layout logic to all its child controls. PerformLayout Control, String. PointToClient Point. Computes the location of the specified screen point into client coordinates. PointToScreen Point.

Computes the location of the specified client point into screen coordinates. PreProcessControlMessage Message. Preprocesses keyboard or input messages within the message loop before they are dispatched. PreProcessMessage Message. ProcessCmdKey Message, Keys. ProcessDialogChar Char. ProcessDialogKey Keys. ProcessKeyEventArgs Message. Processes a key message and generates the appropriate control events.

ProcessKeyMessage Message. Processes a keyboard message. ProcessKeyPreview Message. ProcessMnemonic Char. Processes a mnemonic character. ProcessTabKey Boolean.

Raises the appropriate drag event. Raises the appropriate key event. Raises the appropriate mouse event. Raises the appropriate paint event. Forces the re-creation of the handle for the control. RectangleToClient Rectangle. Computes the size and location of the specified screen rectangle in client coordinates. RectangleToScreen Rectangle. Computes the size and location of the specified client rectangle in screen coordinates.

RemoveOwnedForm Form. Resumes usual layout logic. ResumeLayout Boolean. Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests. RtlTranslateAlignment ContentAlignment.

RtlTranslateAlignment HorizontalAlignment. RtlTranslateContent ContentAlignment. RtlTranslateHorizontal HorizontalAlignment. Scale Single. Scales the control and any child controls. Scale Single, Single. Scales the entire control and any child controls. Scale SizeF. Scales the control and all child controls by the specified scaling factor. Scales a logical bitmap value to it's equivalent device unit value when a DPI change occurs. Scales a control's location, size, padding and margin.

ScaleCore Single, Single. ScrollControlIntoView Control. Scrolls the specified child control into view on an auto-scroll enabled control. ScrollToControl Control. Calculates the scroll offset to the specified child control. Activates the control. Select Boolean, Boolean. Selects this form, and optionally selects the next or previous control. Activates the next control. Sends the control to the back of the z-order. Sets the size of the auto-scroll margins.

Sets the bounds of the control to the specified location and size. Sets the specified bounds of the control to the specified location and size. SetDesktopLocation Int32, Int Positions the display window to the specified value.

SetScrollState Int32, Boolean. Sets the specified scroll state flag. SetStyle ControlStyles, Boolean. SetTopLevel Boolean. Sets the control as the top-level control.

SetVisibleCore Boolean. Displays the control to the user. Show IWin32Window. ShowDialog IWin32Window. SizeFromClientSize Size. Determines the size of the entire control from the height and width of its client area. Temporarily suspends the layout logic for the control. Causes the control to redraw the invalidated regions within its client area. Updates the bounds of the control with the current size and location.

Updates the bounds of the control with the specified size and location. Updates the bounds of the control with the specified size, location, and client size. Forces the assigned styles to be reapplied to the control. Updates the control in its parent's z-order. Validate Boolean. ValidateChildren ValidationConstraints. WndProc Message. This event is not relevant for this class. Occurs when the focus or keyboard user interface UI cues change.

Occurs when the control is clicked. Occurs when the control is double-clicked. Occurs when the DPI setting changes on the display device where the form is currently displayed.

Occurs when a drag-and-drop operation is completed. Occurs when an object is dragged into the control's bounds. Occurs when an object is dragged out of the control's bounds. Occurs when an object is dragged over the control's bounds. Occurs when the control is entered. Occurs during a drag operation.

Occurs when the control receives focus. Occurs when a handle is created for the control. Occurs when the control's handle is in the process of being destroyed. Occurs when the user requests help for a control. Occurs when the user attempts to change the input language for the form.

Occurs when a control's display requires redrawing. Occurs when a key is pressed while the control has focus. Occurs when a character. Occurs when a key is released while the control has focus. Occurs when a control should reposition its child controls. Occurs when the input focus leaves the control. Occurs when the control loses focus. Occurs when the control's margin changes.

Occurs when the control loses mouse capture. Occurs when the control is clicked by the mouse. Occurs when the control is double clicked by the mouse. Occurs when the mouse pointer is over the control and a mouse button is pressed. Occurs when the mouse pointer enters the control. Occurs when the mouse pointer rests on the control.



0コメント

  • 1000 / 1000