Click or drag to resize

IBoxDimensions Interface


Represents a collection of dimensions used to describe sizes on 4 sides of a box. Mainly used to describe CSS box model, for example, box padding or margin

Namespace:  Ingeniux.CMS.Presentation
Assembly:  Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax
public interface IBoxDimensions

The IBoxDimensions type exposes the following members.

Properties
  NameDescription
Public propertyAll
Sets the same size for all sizes
Public propertyBottom
Gets/set the size of bottom side
Public propertyLeft
Gets/sets the size of left side
Public propertyRight
Gets/sets the size of right side
Public propertyTop
Gets/sets the size of top side
Public propertyUndefined
Gets whether any side of the box is set to be -1, which is considered for the box model as not defined
Top
Methods
  NameDescription
Public methodSerialize
Generates an XML element that represents the box
Top
See Also