C# Класс EnterpriseWebLibrary.EnterpriseWebFramework.Section

An HTML section.
Наследование: System.Web.UI.WebControls.WebControl, ControlTreeDataLoader
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ControlTreeDataLoader ( ) : void
getSectionClass ( string closedClass, string expandedClass ) : string

Описание методов

Section() публичный Метод

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.
Результат System.Collections.Generic

Section() публичный Метод

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
Результат System.Collections.Generic

Section() публичный Метод

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.
Результат System.Collections.Generic