GridView.TagKey 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 la HtmlTextWriterTag valeur du GridView contrôle.
protected:
virtual property System::Web::UI::HtmlTextWriterTag TagKey { System::Web::UI::HtmlTextWriterTag get(); };
protected override System.Web.UI.HtmlTextWriterTag TagKey { get; }
member this.TagKey : System.Web.UI.HtmlTextWriterTag
Protected Overrides ReadOnly Property TagKey As HtmlTextWriterTag
Valeur de propriété
Valeur HtmlTextWriterTag du GridView contrôle.
Remarques
La TagKey propriété permet au flux de sortie d’écrire le balisage HTML approprié pour le GridView contrôle. Lorsque la EnableSortingAndPagingCallbacks propriété est définie truesur , cette propriété retourne HtmlTextWriterTag.Div; sinon, cette propriété retourne HtmlTextWriterTag.Table.
Notes pour les héritiers
Vous pouvez remplacer cette propriété pour spécifier la HtmlTextWriterTag valeur à utiliser pour votre contrôle dérivé.