Επεξεργασία

Κοινή χρήση μέσω


DataPager.TagKey Property

Definition

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.

Applies to

See also