Share via


ItemCollectionTransitionProvider.ShouldAnimate Method

Definition

Retrieves a value that indicates whether or not this transition should be animated.

public:
 virtual bool ShouldAnimate(ItemCollectionTransition ^ transition) = ShouldAnimate;
bool ShouldAnimate(ItemCollectionTransition const& transition);
public bool ShouldAnimate(ItemCollectionTransition transition);
function shouldAnimate(transition)
Public Function ShouldAnimate (transition As ItemCollectionTransition) As Boolean

Parameters

transition
ItemCollectionTransition

The transition that might be animated.

Returns

Boolean

bool

true if the transition should be animated; otherwise, false.

Remarks

This method is called on an ItemCollectionTransitionProvider object when the state of a UIElement's data object in a collection has changed in a way that might cause it to be animated. It delegates its implementation to the ShouldAnimateCore method, which you should override in a derived class.

Applies to