C# Class Subtext.Web.Admin.WebUI.BreadCrumbs

Inheritance: System.Web.UI.Control
显示文件 Open project: ayende/Subtext

Protected Properties

Property Type Description
_cssClass string
_includeRoot bool
_includeSelf bool
_isPanel bool
_lastCssClass string
_lastItem PageLocation
_lastItemOverride bool
_lastItemStatic bool
_lastItemText string
_lastStyle System.Collections.Specialized.NameValueCollection
_linkCssClass string
_linkStyle System.Collections.Specialized.NameValueCollection
_pageID string
_prefixText string
_separator string
_spacer string
_usePrefixText bool
_useSpacers bool
container System.Web.UI.Control

Public Methods

Method Description
AddLastItem ( string title ) : void
AddLastItem ( string title, string url ) : void
AddLastItem ( string title, string url, string description ) : void
BreadCrumbs ( ) : System

Protected Methods

Method Description
ApplyStyles ( WebControl control, bool isLastItem ) : WebControl
CreateHyperLinkFromLocation ( PageLocation value, bool isLastItem ) : HyperLink
GetSampleAncestors ( ) : PageLocation[]
Render ( System.Web.UI.HtmlTextWriter writer ) : void
SetContainer ( ) : void

Method Details

AddLastItem() public method

public AddLastItem ( string title ) : void
title string
return void

AddLastItem() public method

public AddLastItem ( string title, string url ) : void
title string
url string
return void

AddLastItem() public method

public AddLastItem ( string title, string url, string description ) : void
title string
url string
description string
return void

ApplyStyles() protected method

protected ApplyStyles ( WebControl control, bool isLastItem ) : WebControl
control System.Web.UI.WebControls.WebControl
isLastItem bool
return System.Web.UI.WebControls.WebControl

BreadCrumbs() public method

public BreadCrumbs ( ) : System
return System

CreateHyperLinkFromLocation() protected method

protected CreateHyperLinkFromLocation ( PageLocation value, bool isLastItem ) : HyperLink
value PageLocation
isLastItem bool
return System.Web.UI.WebControls.HyperLink

GetSampleAncestors() protected method

protected GetSampleAncestors ( ) : PageLocation[]
return PageLocation[]

Render() protected method

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

SetContainer() protected method

protected SetContainer ( ) : void
return void

Property Details

_cssClass protected_oe property

protected string _cssClass
return string

_includeRoot protected_oe property

protected bool _includeRoot
return bool

_includeSelf protected_oe property

protected bool _includeSelf
return bool

_isPanel protected_oe property

protected bool _isPanel
return bool

_lastCssClass protected_oe property

protected string _lastCssClass
return string

_lastItem protected_oe property

protected PageLocation _lastItem
return PageLocation

_lastItemOverride protected_oe property

protected bool _lastItemOverride
return bool

_lastItemStatic protected_oe property

protected bool _lastItemStatic
return bool

_lastItemText protected_oe property

protected string _lastItemText
return string

_lastStyle protected_oe property

protected NameValueCollection,System.Collections.Specialized _lastStyle
return System.Collections.Specialized.NameValueCollection

_linkCssClass protected_oe property

protected string _linkCssClass
return string

_linkStyle protected_oe property

protected NameValueCollection,System.Collections.Specialized _linkStyle
return System.Collections.Specialized.NameValueCollection

_pageID protected_oe property

protected string _pageID
return string

_prefixText protected_oe property

protected string _prefixText
return string

_separator protected_oe property

protected string _separator
return string

_spacer protected_oe property

protected string _spacer
return string

_usePrefixText protected_oe property

protected bool _usePrefixText
return bool

_useSpacers protected_oe property

protected bool _useSpacers
return bool

container protected_oe property

protected Control,System.Web.UI container
return System.Web.UI.Control