다음을 통해 공유


GridView.TagKey 속성

정의

컨트롤의 HtmlTextWriterTag 값을 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

속성 값

HtmlTextWriterTag 컨트롤의 값입니다GridView.

설명

TagKey 속성을 사용하면 출력 스트림이 컨트롤에 적절한 HTML 태그를 작성할 수 GridView 있습니다. EnableSortingAndPagingCallbacks 속성을 설정true하면 이 속성이 반환HtmlTextWriterTag.Div되고, 그렇지 않으면 이 속성이 반환됩니다HtmlTextWriterTag.Table.

상속자 참고

이 속성을 재정의하여 파생된 컨트롤에 사용할 값을 지정할 HtmlTextWriterTag 수 있습니다.

적용 대상

추가 정보