C# Класс EnterpriseWebLibrary.EnterpriseWebFramework.Controls.ControlStack

Used to stack inline controls vertically. Implemented with div blocks.
Наследование: System.Web.UI.WebControls.WebControl, ControlTreeDataLoader
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
AddControls ( ) : void

Adds the specified controls to the stack.

AddItem ( ControlListItem item ) : void

Adds an item to the control stack.

AddModificationErrorItem ( EwfValidation validation, ErrorDisplayStyle displayStyle ) : void

Adds an item for the error messages from the specified validation. If there aren't any error messages, the control getter is not called and no item is added.

AddText ( ) : void

Add the given list of strings to the control stack. Do not pass null for any of the strings. If you do, it will be converted to the empty string.

Create ( bool isStandard, IEnumerable tailUpdateRegions = null, IEnumerable itemInsertionUpdateRegions = null ) : ControlStack

Creates a blank vertical stack of controls.

CreateWithControls ( bool isStandard ) : ControlStack

Creates a control stack and adds the specified controls to it.

CreateWithText ( bool isStandard ) : ControlStack

Creates a vertical stack of text controls out of the given list of strings.

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

Метод Описание
ControlStack ( bool isStandard, IEnumerable tailUpdateRegions, IEnumerable itemInsertionUpdateRegions ) : System
ControlTreeDataLoader ( ) : void
getItemControl ( bool>.Tuple item ) : IEnumerable

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

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

Adds the specified controls to the stack.
public AddControls ( ) : void
Результат void

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

Adds an item to the control stack.
public AddItem ( ControlListItem item ) : void
item ControlListItem
Результат void

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

Adds an item for the error messages from the specified validation. If there aren't any error messages, the control getter is not called and no item is added.
public AddModificationErrorItem ( EwfValidation validation, ErrorDisplayStyle displayStyle ) : void
validation EwfValidation
displayStyle ErrorDisplayStyle
Результат void

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

Add the given list of strings to the control stack. Do not pass null for any of the strings. If you do, it will be converted to the empty string.
public AddText ( ) : void
Результат void

Create() публичный статический Метод

Creates a blank vertical stack of controls.
public static Create ( bool isStandard, IEnumerable tailUpdateRegions = null, IEnumerable itemInsertionUpdateRegions = null ) : ControlStack
isStandard bool Sets whether or not this control stack will have standard styling.
tailUpdateRegions IEnumerable
itemInsertionUpdateRegions IEnumerable
Результат ControlStack

CreateWithControls() публичный статический Метод

Creates a control stack and adds the specified controls to it.
public static CreateWithControls ( bool isStandard ) : ControlStack
isStandard bool
Результат ControlStack

CreateWithText() публичный статический Метод

Creates a vertical stack of text controls out of the given list of strings.
public static CreateWithText ( bool isStandard ) : ControlStack
isStandard bool
Результат ControlStack