C# Class BootstrapComponents.Core.HtmlContainer

Inheritance: IHtmlString
Show file Open project: jordanwallwork/bootstrapcomponents

Public Properties

Property Type Description
Attrs HtmlAttributes

Public Methods

Method Description
Clearfix ( ) : HtmlContainer

Clear the float on any element

Hidden ( ) : HtmlContainer

Hides element at the specified size(s)

InnerHtml ( ) : string
PullLeft ( ) : HtmlContainer

Float an element right with a class

PullRight ( ) : HtmlContainer

Float an element left with a class

SrOnly ( ) : HtmlContainer

Hide an element to all users except screen readers

ToHtmlString ( ) : string
ToString ( ) : string
Visible ( ) : HtmlContainer

Makes element visible only at the specified size(s)

Protected Methods

Method Description
EndHtml ( ) : string
HtmlContainer ( string tag, bool selfClosing = true ) : System
StartHtml ( ) : string

Private Methods

Method Description
WithClass ( string @class ) : HtmlContainer

Method Details

Clearfix() public method

Clear the float on any element
public Clearfix ( ) : HtmlContainer
return HtmlContainer

EndHtml() protected method

protected EndHtml ( ) : string
return string

Hidden() public method

Hides element at the specified size(s)
public Hidden ( ) : HtmlContainer
return HtmlContainer

HtmlContainer() protected method

protected HtmlContainer ( string tag, bool selfClosing = true ) : System
tag string
selfClosing bool
return System

InnerHtml() public abstract method

public abstract InnerHtml ( ) : string
return string

PullLeft() public method

Float an element right with a class
public PullLeft ( ) : HtmlContainer
return HtmlContainer

PullRight() public method

Float an element left with a class
public PullRight ( ) : HtmlContainer
return HtmlContainer

SrOnly() public method

Hide an element to all users except screen readers
public SrOnly ( ) : HtmlContainer
return HtmlContainer

StartHtml() protected method

protected StartHtml ( ) : string
return string

ToHtmlString() public method

public ToHtmlString ( ) : string
return string

ToString() public method

public ToString ( ) : string
return string

Visible() public method

Makes element visible only at the specified size(s)
public Visible ( ) : HtmlContainer
return HtmlContainer

Property Details

Attrs public property

public HtmlAttributes,BootstrapComponents.Core Attrs
return HtmlAttributes