Suggérer une traduction
 
Suggestions d'autres utilisateurs :

progress indicator
Aucune autre suggestion.
Cliquez pour évaluer et commenter
MSDN
MSDN Library
Développement .NET
.NET Framework 4
Espaces de noms System.Web
System.Web.UI.WebControls
IButtonControl, interface
Réduire tout/Développer tout Réduire tout
Affichage du contenu :  côte à côteAffichage du contenu : côte à côte
.NET Framework Class Library
IButtonControl Interface

Defines properties and events that must be implemented to allow a control to act like a button on a Web page.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)
Visual Basic
Public Interface IButtonControl
C#
public interface IButtonControl
Visual C++
public interface class IButtonControl
F#
type IButtonControl =  interface end

The IButtonControl type exposes the following members.

  NameDescription
Public propertyCausesValidationGets or sets a value indicating whether clicking the button causes page validation to occur.
Public propertyCommandArgumentGets or sets an optional argument that is propagated to the Command event.
Public propertyCommandNameGets or sets the command name that is propagated to the Command event.
Public propertyPostBackUrlGets or sets the URL of the Web page to post to from the current page when the button control is clicked.
Public propertyTextGets or sets the text caption displayed for the button.
Public propertyValidationGroupGets or sets the name for the group of controls for which the button control causes validation when it posts back to the server.
Top
  NameDescription
Public eventClickOccurs when the button control is clicked.
Public eventCommandOccurs when the button control is clicked.
Top

The IButtonControl interface defines the properties and events that must be implemented to allow a control to act like a button on a Web page.

The members of this interface provide basic button functionality, such as the ability to raise a Click event and a Command event. The PostBackUrl property provides cross-page posting functionality.

Notes to Implementers

Implement this interface in classes that act like button controls on Web pages.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Bibliothèque de classes .NET Framework
IButtonControl, interface

Définit des propriétés et des événements qui doivent être implémentés pour permettre à un contrôle d'agir comme un bouton sur une page Web.

Espace de noms :  System.Web.UI.WebControls
Assembly :  System.Web (dans System.Web.dll)
Visual Basic
Public Interface IButtonControl
C#
public interface IButtonControl
VisualC++
public interface class IButtonControl
F#
type IButtonControl =  interface end

Le type IButtonControl expose les membres suivants.

  NomDescription
Propriété publiqueCausesValidationObtient ou définit une valeur indiquant si un clic sur le bouton déclenche la validation de la page.
Propriété publiqueCommandArgumentObtient ou définit un argument facultatif propagé à l'événement Command.
Propriété publiqueCommandNameObtient ou définit le nom de commande propagé à l'événement Command.
Propriété publiquePostBackUrlObtient ou définit l'URL de la page Web sur laquelle publier depuis la page actuelle lorsque l'on clique sur le contrôle bouton.
Propriété publiqueTextObtient ou définit le texte de la légende qui s'affiche pour le bouton.
Propriété publiqueValidationGroupObtient ou définit le nom du groupe de contrôles dont le contrôle bouton provoque la validation lors de la publication sur le serveur.
Début
  NomDescription
Événement publicClickSe produit lorsque l'on clique sur le contrôle bouton.
Événement publicCommandSe produit lorsque l'on clique sur le contrôle bouton.
Début

L'interface IButtonControl définit les propriétés et les événements qui doivent être implémentés pour permettre à un contrôle d'agir comme un bouton sur une page Web.

Les membres de cette interface fournissent des fonctionnalités de bouton de base, telles que la capacité de déclencher un événement Click et un événement Command. La propriété PostBackUrl fournit des fonctionnalités de publication entre pages.

Remarques à l'attention des implémenteurs

Implémentez cette interface dans des classes qui agissent comme des contrôles bouton sur les pages Web.

.NET Framework

Pris en charge dans : 4, 3.5, 3.0, 2.0

Windows 7, Windows Vista SP1 ou ultérieur, Windows XP SP3, Windows XP SP2 Édition x64, Windows Server 2008 (installation minimale non prise en charge), Windows Server 2008 R2 (installation minimale prise en charge avec SP1 ou version ultérieure), Windows Server 2003 SP2

Le .NET Framework ne prend pas en charge toutes les versions de chaque plateforme. Pour obtenir la liste des versions prises en charge, consultez Configuration requise du .NET Framework.
Contenu de la communauté   Qu'est-ce que le Contenu de la communauté ?
Ajouter du contenu RSS  Annotations
Processing
© 2012 Microsoft. Tous droits réservés. Conditions d'utilisation | Marques | Confidentialité
Page view tracker