BlockConfig class

Represents Block element.

public class BlockConfig : ParentConfig


BlockConfig()Create instance with default values


BackgroundColor { get; set; }Color of border
BorderBottomStyle { get; set; }Additional style for bottom border
BorderColor { get; set; }Color of border
BorderLeftStyle { get; set; }Additional style for left border
BorderRightStyle { get; set; }Additional style for right border
BorderSize { get; set; }Size of border line
BorderTopStyle { get; set; }Additional style for top border
BorderType { get; set; }Type of drawn border
override Children { get; set; }Child omr elements. In most cases positioned inside of parent or below.
Column { get; set; }When placed in multi-column container - represent position in parent
Height { get; set; }Maximum height allowed for this element and all of its children. Set in pixels
HorizontalPadding { get; set; }Size between border and content of this block set in pixels
IsClipped { get; set; }If true block, and all it’s content will be clipped as picture upon recognition
override Name { get; set; }Name of Block element
Overflow { get; set; }Describes behaviour in case any of child elements overflow Block size. Overwrites global preset at Overflow
override Type { get; set; }Type of omr element. Required field for JSON serialization.
VerticalPadding { get; set; }Size between border and content of this block set in pixels

See Also