HorizontalScrollArrangement Component
Properties
alignHorizontal A string that encodes how contents of the HorizontalScrollArrangement are aligned horizontally. The choices are: 'left', 'right', 'center'. Alignment has no effect if the HorizontalScrollArrangement’s Width is Automatic.
Data type: string |
||
Designer Writable | true |
<horizontalscrollarrangement name="horizontalscrollarrangementName" alignHorizontal="center"> |
Code Writeable | true |
horizontalscrollarrangementName.alignHorizontal = "center" |
Code Readable | true |
let variable = horizontalscrollarrangementName.alignHorizontal |
alignVertical A string that encodes how the contents of the HorizontalScrollArrangement are aligned vertically. The choices are: 'top', 'center', 'bottom'. Alignment has no effect if the HorizontalScrollArrangement’s Height is Automatic.
Data type: string |
||
Designer Writable | true |
<horizontalscrollarrangement name="horizontalscrollarrangementName" alignVertical="center"> |
Code Writeable | true |
horizontalscrollarrangementName.alignVertical = "center" |
Code Readable | true |
let variable = horizontalscrollarrangementName.alignVertical |
backgroundColor Specifies the background color of the HorizontalScrollArrangement as an red-green-blue-alpha RRGGBBAA or red-green-blue RRGGBB string. If an Image has been set, the color change will not be visible until the Image is removed.
Data type: color |
||
Designer Writable | true |
<horizontalscrollarrangement name="horizontalscrollarrangementName" backgroundColor="FF5a58e4"> |
Code Writeable | true |
horizontalscrollarrangementName.backgroundColor = "FF5a58e4" |
Code Readable | true |
let variable = horizontalscrollarrangementName.backgroundColor |
height Specifies the HorizontalScrollArrangement's vertical height, measured in pixels.
Data type: number |
||
Designer Writable | false | |
Code Writeable | true |
horizontalscrollarrangementName.height = 400 |
Code Readable | true |
let variable = horizontalscrollarrangementName.height |
heightPercent Specifies the HorizontalScrollArrangement's vertical height as a percentage of the Screen's Height.
Data type: number |
||
Designer Writable | false | |
Code Writeable | true |
horizontalscrollarrangementName.heightPercent = 95 |
Code Readable | false |
image Specifies the path of the background image of the HorizontalScrollArrangement.
Data type: string |
||
Designer Writable | true |
<horizontalscrollarrangement name="horizontalscrollarrangementName" image="cat.png"> |
Code Writeable | true |
horizontalscrollarrangementName.image = "cat.png" |
Code Readable | true |
let variable = horizontalscrollarrangementName.image |
visible Specifies whether the HorizontalScrollArrangement should be visible on the screen. Value is true if the HorizontalScrollArrangement is showing and false if hidden.
Data type: boolean |
||
Designer Writable | true |
<horizontalscrollarrangement name="horizontalscrollarrangementName" visible="true"> |
Code Writeable | true |
horizontalscrollarrangementName.visible = true |
Code Readable | true |
let variable = horizontalscrollarrangementName.visible |
width Specifies the horizontal width of the HorizontalScrollArrangement, measured in pixels.
Data type: number |
||
Designer Writable | false | |
Code Writeable | true |
horizontalscrollarrangementName.width = 400 |
Code Readable | true |
let variable = horizontalscrollarrangementName.width |
widthPercent Specifies the horizontal width of the HorizontalScrollArrangement as a percentage of the Screen's Width.
Data type: number |
||
Designer Writable | false | |
Code Writeable | true |
horizontalscrollarrangementName.widthPercent = 80 |
Code Readable | false |
class The styling class of the the component
Data type: string |
||
Designer Writable | true |
<horizontalscrollarrangement name="horizontalscrollarrangementName" class="Test class"> |
Code Writeable | false | |
Code Readable | false |
id The styling id of the the component
Data type: string |
||
Designer Writable | true |
<horizontalscrollarrangement name="horizontalscrollarrangementName" id="Test id"> |
Code Writeable | false | |
Code Readable | false |
name The name of the component that will be used to refer to it in code.
Data type: string |
||
Designer Writable | true |
<horizontalscrollarrangement name="horizontalscrollarrangementName" name="testComponent"> |
Code Writeable | false | |
Code Readable | false |