Note: You are on the beta version of our docs. This is a work in progress and may contain broken links and pages.
Classes
Style
Style
Summary
Constructors
Properties
- accessibilityHidden
- accessibilityLanguage
- accessibilityLiveRegion
- accessibilityMediaSession
- accessibilityRole
- accessibilityState
- accessibilityStep
- accessible
- alignContent
- alignItems
- alignSelf
- androidContentInset
- androidContentInsetLeft
- androidContentInsetRight
- androidDynamicElevationOffset
- androidElevation
- androidSelectedTabHighlightColor
- androidStatusBarBackground
- background
- backgroundColor
- backgroundImage
- backgroundInternal
- backgroundPosition
- backgroundRepeat
- backgroundSize
- borderBottomColor
- borderBottomLeftRadius
- borderBottomRightRadius
- borderBottomWidth
- borderColor
- borderLeftColor
- borderLeftWidth
- borderRadius
- borderRightColor
- borderRightWidth
- borderTopColor
- borderTopLeftRadius
- borderTopRightRadius
- borderTopWidth
- borderWidth
- boxShadow
- clipPath
- color
- flexDirection
- flexGrow
- flexShrink
- flexWrap
- flexWrapBefore
- font
- fontFamily
- fontInternal
- fontScaleInternal
- fontSize
- fontStyle
- fontWeight
- height
- horizontalAlignment
- iosAccessibilityAdjustsFontSize
- iosAccessibilityMaxFontScale
- iosAccessibilityMinFontScale
- justifyContent
- letterSpacing
- lineHeight
- margin
- marginBottom
- marginLeft
- marginRight
- marginTop
- maxLines
- minHeight
- minWidth
- opacity
- order
- padding
- paddingBottom
- paddingLeft
- paddingRight
- paddingTop
- perspective
- placeholderColor
- PropertyBag
- rotate
- rotateX
- rotateY
- scaleX
- scaleY
- selectedBackgroundColor
- selectedTabTextColor
- separatorColor
- statusBarStyle
- tabBackgroundColor
- tabTextColor
- tabTextFontSize
- textAlignment
- textDecoration
- textShadow
- textTransform
- tintColor
- translateX
- translateY
- verticalAlignment
- viewRef
- visibility
- whiteSpace
- width
- zIndex
1 properties inherited from Observable
Click to expand
Accessors
Methods
- getCssVariable
- removeScopedCssVariable
- removeUnscopedCssVariable
- resetScopedCssVariables
- resetUnscopedCssVariables
- setScopedCssVariable
- setUnscopedCssVariable
- toString
18 methods inherited from Observable
Click to expand
Constructors
constructor
Properties
PropertyBag
accessibilityHidden
accessibilityHidden: boolean
accessibilityLanguage
accessibilityLiveRegion
accessibilityLiveRegion: AccessibilityLiveRegion
accessibilityMediaSession
accessibilityRole
accessibilityRole: AccessibilityRole
accessibilityState
accessibilityState: AccessibilityState
accessibilityStep
accessible
alignContent
alignItems
alignSelf
androidContentInset
androidContentInset: string | number | LengthDipUnit | LengthPxUnit
androidContentInsetLeft
androidContentInsetLeft: LengthType
androidContentInsetRight
androidContentInsetRight: LengthType
androidDynamicElevationOffset
androidElevation
background
backgroundImage
backgroundInternal
backgroundInternal: Background
backgroundPosition
backgroundRepeat
backgroundRepeat: BackgroundRepeatType
backgroundSize
borderBottomLeftRadius
borderBottomLeftRadius: LengthType
borderBottomRightRadius
borderBottomRightRadius: LengthType
borderBottomWidth
borderBottomWidth: LengthType
borderLeftWidth
borderLeftWidth: LengthType
borderRadius
borderRadius: string | number | LengthDipUnit | LengthPxUnit
borderRightWidth
borderRightWidth: LengthType
borderTopLeftRadius
borderTopLeftRadius: LengthType
borderTopRightRadius
borderTopRightRadius: LengthType
borderTopWidth
borderTopWidth: LengthType
borderWidth
borderWidth: string | number | LengthDipUnit | LengthPxUnit
boxShadow
clipPath
flexDirection
flexGrow
flexShrink
flexWrap
flexWrapBefore
font
fontFamily
fontScaleInternal
This property ensures inheritance of a11y scale among views.
fontSize
fontStyle
fontWeight
height
height: PercentLengthType
horizontalAlignment
horizontalAlignment: HorizontalAlignmentType
iosAccessibilityAdjustsFontSize
iosAccessibilityMaxFontScale
iosAccessibilityMinFontScale
justifyContent
letterSpacing
lineHeight
margin
margin: string | number | LengthDipUnit | LengthPxUnit | LengthPercentUnit
marginBottom
marginBottom: PercentLengthType
marginLeft
marginLeft: PercentLengthType
marginRight
marginRight: PercentLengthType
marginTop
marginTop: PercentLengthType
maxLines
minHeight
minHeight: LengthType
minWidth
minWidth: LengthType
opacity
order
padding
padding: string | number | LengthDipUnit | LengthPxUnit
paddingBottom
paddingBottom: LengthType
paddingLeft
paddingLeft: LengthType
paddingRight
paddingRight: LengthType
paddingTop
paddingTop: LengthType
perspective
rotate
rotateX
rotateY
scaleX
scaleY
statusBarStyle
tabTextFontSize
textAlignment
textAlignment: TextAlignmentType
textDecoration
textDecoration: TextDecorationType
textShadow
textTransform
textTransform: TextTransformType
translateX
translateY
verticalAlignment
verticalAlignment: VerticalAlignmentType
visibility
visibility: VisibilityType
whiteSpace
whiteSpace: WhiteSpaceType
width
width: PercentLengthType
zIndex
Accessors
Methods
getCssVariable
Parameter | Default | Description |
varName |
| string |
Returns string
removeScopedCssVariable
Parameter | Default | Description |
varName |
| string |
Returns void
removeUnscopedCssVariable
Parameter | Default | Description |
varName |
| string |
Returns void
resetScopedCssVariables
Returns void
resetUnscopedCssVariables
Returns void
setScopedCssVariable
Parameter | Default | Description |
varName |
| string |
value |
| string |
Returns void
setUnscopedCssVariable
Parameter | Default | Description |
varName |
| string |
value |
| string |
Returns void
toString
Returns string
- Previous
- StackLayout
- Next
- Switch