A2v10 Platform documentation
UK


Block Layout Element

Represents a container that contains other controls or other containers.

Inherits: UIElement : UIElementBase

Content property: Children

Properties

Name Type Description
Children UIElementCollection Content property. Collection of child items.
Align TextAlign Horizontal alignment of the container’s contents
Color TextColor Text color.
Background BackgroundStyle Background color.
Height Length Block height.
Width Length Block width. By default the block occupies 100% of the width of a parent element.
MaxWidth Length Maximum block width. If the content is wider, it is wrapped.
Border Boolean Display a frame for the block.
Scroll Boolean? Whether the block allows scrolling. Only makes sense if the height of the block is set. If set to True, a scroll bar will appear. If set to False, the excess content will be truncated. By default the height of the block will be such as to include all nested elements.
DropShadow ShadowStyle Type of shadow.
Relative Boolean Relative positioning for the block. All child items with the Absolute property set will be positioned relative to this block.
Base item properties