GridView.TagKey Propiedad

Definición

Obtiene el valor HtmlTextWriterTag del control GridView.

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

Valor de propiedad

HtmlTextWriterTag

Valor HtmlTextWriterTag para el control GridView.

Comentarios

La TagKey propiedad permite que el flujo de salida escriba el marcado HTML adecuado para el GridView control. Cuando la EnableSortingAndPagingCallbacks propiedad se establece trueen , esta propiedad devuelve HtmlTextWriterTag.Div; de lo contrario, esta propiedad devuelve HtmlTextWriterTag.Table.

Notas a los desarrolladores de herederos

Puede invalidar esta propiedad para especificar qué HtmlTextWriterTag valor se va a usar para el control derivado.

Se aplica a

Consulte también