套件 | mx.core |
類別 | public final class LayoutDirection |
繼承 | LayoutDirection Object |
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.1 |
執行階段版本: | Flash Player 10, AIR 2.0 |
layoutDirection
style of an IStyleClient and the
layoutDirection
property of an ILayoutDirectionElement.
Left-to-right layoutDirection is typically used with Latin-style
scripts. Right-to-left layoutDirection is used with scripts such as
Arabic or Hebrew.
If an IStyleClient, set the layoutDirection style to undefined to
inherit the layoutDirection from its ancestor.
If an ILayoutDirectionElement, set the layoutDirection property to null to
inherit the layoutDirection from its ancestor.
相關 API 元素
公用常數
常數 | 定義自 | ||
---|---|---|---|
LTR : String = "ltr" [靜態]
Specifies left-to-right layout direction for a style client or a
visual element. | LayoutDirection | ||
RTL : String = "rtl" [靜態]
Specifies right-to-left layout direction for a style client or a
visual element. | LayoutDirection |
常數詳細資訊
LTR | 常數 |
public static const LTR:String = "ltr"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.1 |
執行階段版本: | Flash Player 10, AIR 2.0 |
Specifies left-to-right layout direction for a style client or a visual element.
RTL | 常數 |
public static const RTL:String = "rtl"
語言版本: | ActionScript 3.0 |
產品版本: | Flex 4.1 |
執行階段版本: | Flash Player 10, AIR 2.0 |
Specifies right-to-left layout direction for a style client or a visual element.
Tue Jun 12 2018, 03:47 PM Z