C# Class BootstrapComponents.Components.Navbars.Navbar

Inheritance: BootstrapComponents.Core.CloseableHtml
Show file Open project: jordanwallwork/bootstrapcomponents Class Usage Examples

Public Methods

Method Description
Brand ( string text, string url = null ) : IHtmlString
Button ( string text, ButtonSettings settings = null ) : Button
Collapsible ( ) : CloseableHtml
Header ( bool includeToggle = true ) : CloseableHtml
Nav ( NavSettings settings = null ) : Nav
Nav ( string activeIdentifier, NavSettings settings = null ) : Nav
Navbar ( IWriter writer, NavbarSettings settings = null ) : System.Web
Navbar ( System.Web.Mvc.ViewContext viewContext, NavbarSettings settings = null ) : System.Web
RightNav ( NavSettings settings = null ) : Nav
RightNav ( string activeIdentifier, NavSettings settings = null ) : Nav
Text ( string text ) : IHtmlString

Protected Methods

Method Description
ClosingHtml ( ) : string

Private Methods

Method Description
WriteOpening ( ) : void

Method Details

Brand() public method

public Brand ( string text, string url = null ) : IHtmlString
text string
url string
return IHtmlString

Button() public method

public Button ( string text, ButtonSettings settings = null ) : Button
text string
settings BootstrapComponents.Components.Buttons.ButtonSettings
return BootstrapComponents.Components.Buttons.Button

ClosingHtml() protected method

protected ClosingHtml ( ) : string
return string

Collapsible() public method

public Collapsible ( ) : CloseableHtml
return BootstrapComponents.Core.CloseableHtml

Header() public method

public Header ( bool includeToggle = true ) : CloseableHtml
includeToggle bool
return BootstrapComponents.Core.CloseableHtml

Nav() public method

public Nav ( NavSettings settings = null ) : Nav
settings BootstrapComponents.Components.Navs.NavSettings
return BootstrapComponents.Components.Navs.Nav

Nav() public method

public Nav ( string activeIdentifier, NavSettings settings = null ) : Nav
activeIdentifier string
settings BootstrapComponents.Components.Navs.NavSettings
return BootstrapComponents.Components.Navs.Nav

Navbar() public method

public Navbar ( IWriter writer, NavbarSettings settings = null ) : System.Web
writer IWriter
settings NavbarSettings
return System.Web

Navbar() public method

public Navbar ( System.Web.Mvc.ViewContext viewContext, NavbarSettings settings = null ) : System.Web
viewContext System.Web.Mvc.ViewContext
settings NavbarSettings
return System.Web

RightNav() public method

public RightNav ( NavSettings settings = null ) : Nav
settings BootstrapComponents.Components.Navs.NavSettings
return BootstrapComponents.Components.Navs.Nav

RightNav() public method

public RightNav ( string activeIdentifier, NavSettings settings = null ) : Nav
activeIdentifier string
settings BootstrapComponents.Components.Navs.NavSettings
return BootstrapComponents.Components.Navs.Nav

Text() public method

public Text ( string text ) : IHtmlString
text string
return IHtmlString