ElementAnimator.OnElementBoundsChanged 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
virtual void OnElementBoundsChanged(UIElement ^ element, AnimationContext context, Rect oldBounds, Rect newBounds) = OnElementBoundsChanged;
/// [Windows.Foundation.Metadata.Experimental]
void OnElementBoundsChanged(UIElement const& element, AnimationContext const& context, Rect const& oldBounds, Rect const& newBounds);
[Windows.Foundation.Metadata.Experimental]
public void OnElementBoundsChanged(UIElement element, AnimationContext context, Rect oldBounds, Rect newBounds);
Public Sub OnElementBoundsChanged (element As UIElement, context As AnimationContext, oldBounds As Rect, newBounds As Rect)
參數
- element
- UIElement
- context
- AnimationContext
- oldBounds
- Rect
- newBounds
- Rect
- 屬性
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將推出:在 2024 年,我們將隨著內容的意見反應機制逐步淘汰 GitHub 問題,並以新的意見反應系統來取代。 如需詳細資訊,請參閱提交並檢視相關的意見反應