WebBrowser.AllowNavigation Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit une valeur indiquant si le contrôle peut accéder à une autre page une fois sa page initiale chargée.
public:
property bool AllowNavigation { bool get(); void set(bool value); };
public bool AllowNavigation { get; set; }
member this.AllowNavigation : bool with get, set
Public Property AllowNavigation As Boolean
Valeur de propriété
true si le contrôle peut accéder à une autre page ; sinon, false.
Remarques
Cette propriété n’empêche pas le chargement d’une page initiale en définissant la propriété ou DocumentStream la UrlDocumentText propriété, mais empêche toute navigation ultérieure.