padding (attribute of Template Tag)


Description


This group of attributes defines internal margins of a container.

The short notation has been used.


code                                        comment

padding =”0.1;0.2;0.3;0.4”                left=0.1, top=0.2, right=0.3, bottom=0.4

padding =”0.1”                        all left, top, right, bottom = 0.1

padding =”;0.1;;0.2”                        left=none, top=0.1, right=none, bottom=0.2


When fetching data from a style file or a template file, <padding> is converted to detailed attributes: padding-left, padding-top, padding-right, and padding-bottom.

Only detailed attributes can be used in the generated 1.cs file.