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.Table。Always returns HtmlTextWriterTag.Table.
注解
TagKey属性允许输出流为控件写入适当的 HTML 标记 DataGrid 。The TagKey property allows the output stream to write the appropriate HTML markup for the DataGrid control.