Прочитај на енглеском Уреди

Делите путем


WebBrowser.Navigating Event

Definition

Occurs just before navigation to a document.

C#
public event System.Windows.Navigation.NavigatingCancelEventHandler Navigating;

Event Type

Remarks

Navigating event handlers are passed an instance of the NavigatingCancelEventArgs class. You can cancel the navigation by setting the Cancel property of the NavigatingCancelEventArgs object to true.

This event will only be fired for top-level navigations.

Applies to

Производ Верзије
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

See also