ItemCollectionTransitionProvider.ShouldAnimate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.