DataPager.TagKey Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the HTML element that is used to render the DataPager control.
protected:
virtual property System::Web::UI::HtmlTextWriterTag TagKey { System::Web::UI::HtmlTextWriterTag get(); };
[System.ComponentModel.Browsable(false)]
protected virtual System.Web.UI.HtmlTextWriterTag TagKey { get; }
[<System.ComponentModel.Browsable(false)>]
member this.TagKey : System.Web.UI.HtmlTextWriterTag
Protected Overridable ReadOnly Property TagKey As HtmlTextWriterTag
Property Value
Always Span.
- Attributes
Remarks
The TagKey property returns an HTML element that is used by the RenderBeginTag method to write the appropriate markup for the DataPager control. This property overrides the base implementation to always return HtmlTextWriterTag.Span.
Note
This property is primarily used by control developers to extend the DataPager control.
Notes to Inheritors
You can override this property to specify which HtmlTextWriterTag value to use for a derived control.