C# Class Subtext.Web.Controls.PagingControl

Inheritance: System.Web.UI.Control
Mostrar archivo Open project: ayende/Subtext

Protected Properties

Property Type Description
_cssClass string
_firstText string
_lastText string
_linkFormat string
_linkFormatActive string
_prefixText string
_spacer string
_suffixText string
_urlFormat string
_usePrefixSuffix bool
_useSpacer bool
displayFirstLastPageLinks bool

Public Methods

Method Description
PagingControl ( ) : System

Constructs an instance of this control.

Protected Methods

Method Description
OnInit ( EventArgs args ) : void
Render ( System.Web.UI.HtmlTextWriter writer ) : void
RenderLink ( int pageIndex, bool isCurrent ) : string

Renders the link for the specified page index in the paging control.

RenderLink ( int pageIndex, string display ) : string

Renders the link for the specified page index in the paging control.

RenderLink ( int pageIndex, string display, bool isCurrent ) : string

Renders the link for the specified page index in the paging control.

WriteConditional ( System.Web.UI.HtmlTextWriter writer, string value, bool condition ) : void

Method Details

OnInit() protected method

protected OnInit ( EventArgs args ) : void
args System.EventArgs
return void

PagingControl() public method

Constructs an instance of this control.
public PagingControl ( ) : System
return System

Render() protected method

protected Render ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void

RenderLink() protected method

Renders the link for the specified page index in the paging control.
protected RenderLink ( int pageIndex, bool isCurrent ) : string
pageIndex int
isCurrent bool Whether or not the pageindex to render is the current page.
return string

RenderLink() protected method

Renders the link for the specified page index in the paging control.
protected RenderLink ( int pageIndex, string display ) : string
pageIndex int
display string The display text of the link
return string

RenderLink() protected method

Renders the link for the specified page index in the paging control.
protected RenderLink ( int pageIndex, string display, bool isCurrent ) : string
pageIndex int
display string The display text of the link
isCurrent bool Whether or not the pageindex to render is the current page.
return string

WriteConditional() protected method

protected WriteConditional ( System.Web.UI.HtmlTextWriter writer, string value, bool condition ) : void
writer System.Web.UI.HtmlTextWriter
value string
condition bool
return void

Property Details

_cssClass protected_oe property

protected string _cssClass
return string

_firstText protected_oe property

protected string _firstText
return string

_lastText protected_oe property

protected string _lastText
return string

_linkFormat protected_oe property

protected string _linkFormat
return string

_linkFormatActive protected_oe property

protected string _linkFormatActive
return string

_prefixText protected_oe property

protected string _prefixText
return string

_spacer protected_oe property

protected string _spacer
return string

_suffixText protected_oe property

protected string _suffixText
return string

_urlFormat protected_oe property

protected string _urlFormat
return string

_usePrefixSuffix protected_oe property

protected bool _usePrefixSuffix
return bool

_useSpacer protected_oe property

protected bool _useSpacer
return bool

displayFirstLastPageLinks protected_oe property

protected bool displayFirstLastPageLinks
return bool