C# Class EnterpriseWebLibrary.EnterpriseWebFramework.Controls.ControlStack

Used to stack inline controls vertically. Implemented with div blocks.
Inheritance: System.Web.UI.WebControls.WebControl, ControlTreeDataLoader
Afficher le fichier Open project: enduracode/enterprise-web-library Class Usage Examples

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
ControlStack ( bool isStandard, IEnumerable tailUpdateRegions, IEnumerable itemInsertionUpdateRegions ) : System
ControlTreeDataLoader ( ) : void
getItemControl ( bool>.Tuple item ) : IEnumerable

Method Details

AddControls() public méthode

Adds the specified controls to the stack.
public AddControls ( ) : void
Résultat void

AddItem() public méthode

Adds an item to the control stack.
public AddItem ( ControlListItem item ) : void
item ControlListItem
Résultat void

AddModificationErrorItem() public méthode

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
Résultat void

AddText() public méthode

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
Résultat void

Create() public static méthode

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
Résultat ControlStack

CreateWithControls() public static méthode

Creates a control stack and adds the specified controls to it.
public static CreateWithControls ( bool isStandard ) : ControlStack
isStandard bool
Résultat ControlStack

CreateWithText() public static méthode

Creates a vertical stack of text controls out of the given list of strings.
public static CreateWithText ( bool isStandard ) : ControlStack
isStandard bool
Résultat ControlStack