DataGrid.TagKey 属性

定义

获取 DataGrid 控件的 HtmlTextWriterTag 值。Gets the HtmlTextWriterTag value for the DataGrid control.

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

属性值

HtmlTextWriterTag

始终返回 HtmlTextWriterTag.TableAlways returns HtmlTextWriterTag.Table.

注解

TagKey属性允许输出流为控件写入适当的 HTML 标记 DataGridThe TagKey property allows the output stream to write the appropriate HTML markup for the DataGrid control.

适用于

另请参阅