Windows Media Player 11 SDK AmbientAttributes.nineGridMargins
Previous | Next |
AmbientAttributes.nineGridMargins
The nineGridMargins attribute specifies margin widths for non-uniform scaling of the skin element.
Syntax
Possible Values
This attribute is a read/write String that contains the widths of the margins in the form "widthLeft,widthTop,widthRight,widthBottom". Each width value is a number representing the width, in pixels, of a margin for the nine grid.
Remarks
A nine grid is a technique used to divide user interface elements into nine rectangular regions arranged in a 3 by 3 matrix. When an element is resized, the nine grid regions can each scale by a different factor.
Each of the four width values you specify represents the width of a row or column of three adjacent regions. Each row or column forms the left side, top, right side, or bottom of the nine grid.
AmbientAttributes.resizeImages must be set to true for this attribute to work.
Requirements
Windows Media Player 11.
See Also
Previous | Next |