Details of the Padding property
- Last UpdatedJul 16, 2024
- 1 minute read
Graphics padding is the blank space placed around the borders of repeating graphics during runtime. Padding values are specified by the number of pixels placed at the left, top, right, and bottom borders of a graphic, which are specified as four positional integers separated by commas.
L,T,R,B
No padding is the default, which is specified as 0,0,0,0.
The aspect ratio of the repeating graphic is maintained when padding is applied. In the case when a graphic extends beyond the pane border because of padding, the repeating graphic is reduced in size until it fits within the pane while including the padding space.