LayoutAnimationController 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| LayoutAnimationController(Animation) |
建立一個延遲為 50% 的新版面動畫控制器,並播放指定的動畫。 |
| LayoutAnimationController(Context, IAttributeSet) |
從外部資源建立新的版面動畫控制器。 |
| LayoutAnimationController(Animation, Single) |
建立一個新的版面動畫控制器,並設定指定的延遲與動畫。 |
| LayoutAnimationController(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
LayoutAnimationController(Animation)
建立一個延遲為 50% 的新版面動畫控制器,並播放指定的動畫。
[Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;)V", "")]
public LayoutAnimationController(Android.Views.Animations.Animation? animation);
[<Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;)V", "")>]
new Android.Views.Animations.LayoutAnimationController : Android.Views.Animations.Animation -> Android.Views.Animations.LayoutAnimationController
參數
- animation
- Animation
動畫要用於檢視群組的每個子節點
- 屬性
備註
建立一個延遲為 50% 的新版面動畫控制器,並播放指定的動畫。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
LayoutAnimationController(Context, IAttributeSet)
從外部資源建立新的版面動畫控制器。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public LayoutAnimationController(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.LayoutAnimationController : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.LayoutAnimationController
參數
- context
- Context
檢視群組所執行的 Context,透過此上下文存取資源
- attrs
- IAttributeSet
膨脹版面動畫控制器的 XML 標籤屬性
- 屬性
備註
從外部資源建立新的版面動畫控制器。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
LayoutAnimationController(Animation, Single)
建立一個新的版面動畫控制器,並設定指定的延遲與動畫。
[Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;F)V", "")]
public LayoutAnimationController(Android.Views.Animations.Animation? animation, float delay);
[<Android.Runtime.Register(".ctor", "(Landroid/view/animation/Animation;F)V", "")>]
new Android.Views.Animations.LayoutAnimationController : Android.Views.Animations.Animation * single -> Android.Views.Animations.LayoutAnimationController
參數
- animation
- Animation
動畫要用於檢視群組的每個子節點
- delay
- Single
每個子節點動畫必須相剋的延遲
- 屬性
備註
建立一個新的版面動畫控制器,並設定指定的延遲與動畫。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
LayoutAnimationController(IntPtr, JniHandleOwnership)
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。
protected LayoutAnimationController(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.LayoutAnimationController : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.LayoutAnimationController
參數
- transfer
- JniHandleOwnership
JniHandleOwnershipA 指示如何處理javaReference
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。