學習目標
- Translation - 位移
- Scale - 放大縮小
- Anchoring - 放大縮小錨定點
- Rotation - 旋轉
顧名思義的,這章節要來介紹 Xamarin.Forms 提供的三種物件變形方式
這三種變形跟以下八個屬性有點關係,型態都是 double:
- TranslationX
- TranslationY
- Scale
- Rotation
- RotationX
- RotationY
- AnchorX
- AnchorY
先來介紹 Translation - 位移
<TableView Intent="Settings"> <TableRoot> <TableSection Title="Ring"> <SwitchCell Text="New Voice Mail" /> <SwitchCell Text="New Mail" On="true" /> </TableSection> </TableRoot> </TableView>