C# Class EnterpriseWebLibrary.EnterpriseWebFramework.Section

An HTML section.
Inheritance: System.Web.UI.WebControls.WebControl, ControlTreeDataLoader
Datei anzeigen Open project: enduracode/enterprise-web-library

Public Methods

Method Description
Section ( IEnumerable contentControls, SectionStyle style = SectionStyle.Normal ) : System.Collections.Generic

Creates a section.

Section ( SectionStyle style, string heading, IEnumerable postHeadingControls, IEnumerable contentControls, bool expanded, bool disableStatePersistence ) : System.Collections.Generic

Standard library use only.

Section ( string heading, IEnumerable contentControls, SectionStyle style = SectionStyle.Normal, IEnumerable postHeadingControls = null, bool expanded = null ) : System.Collections.Generic

Creates a section.

Private Methods

Method Description
ControlTreeDataLoader ( ) : void
getSectionClass ( string closedClass, string expandedClass ) : string

Method Details

Section() public method

Creates a section.
public Section ( IEnumerable contentControls, SectionStyle style = SectionStyle.Normal ) : System.Collections.Generic
contentControls IEnumerable The section's content.
style SectionStyle The section's style.
return System.Collections.Generic

Section() public method

Standard library use only.
public Section ( SectionStyle style, string heading, IEnumerable postHeadingControls, IEnumerable contentControls, bool expanded, bool disableStatePersistence ) : System.Collections.Generic
style SectionStyle
heading string
postHeadingControls IEnumerable
contentControls IEnumerable
expanded bool
disableStatePersistence bool
return System.Collections.Generic

Section() public method

Creates a section.
public Section ( string heading, IEnumerable contentControls, SectionStyle style = SectionStyle.Normal, IEnumerable postHeadingControls = null, bool expanded = null ) : System.Collections.Generic
heading string The section's heading. Do not pass null.
contentControls IEnumerable The section's content.
style SectionStyle The section's style.
postHeadingControls IEnumerable Controls that follow the heading but are still part of the heading container.
expanded bool Set to true or false if you want users to be able to expand or close the section by clicking on the heading.
return System.Collections.Generic