Udostępnij za pośrednictwem


ScrollView.ExpressionAnimationSources Property

Definition

Gets a CompositionPropertySet of scrolling related property values.

public:
 property CompositionPropertySet ^ ExpressionAnimationSources { CompositionPropertySet ^ get(); };
CompositionPropertySet ExpressionAnimationSources();
public CompositionPropertySet ExpressionAnimationSources { get; }
var compositionPropertySet = scrollView.expressionAnimationSources;
Public ReadOnly Property ExpressionAnimationSources As CompositionPropertySet

Property Value

A CompositionPropertySet of scrolling related property values.

Remarks

The returned CompositionPropertySet instance can be used to drive Composition animations and includes these properties:

  • Extent: Represents the content size (unaffected by the ZoomFactor, i.e. at ZoomFactor 1.0).
  • Viewport: Represents the viewport size.
  • Offset: Represents the content offset in the XAML layout engine. This offset may not be (0, 0) when element anchoring is turned on.
  • Position: Represents an animated Vector2 built using the underlying InteractionTracker's Position.X and Position.Y components.
  • MinPosition: Represents a Vector2 built using the underlying InteractionTracker's MinPosition.X and MinPosition.Y components.
  • MaxPosition: Represents a Vector2 built using the underlying InteractionTracker's MaxPosition.X and MaxPosition.Y components.
  • ZoomFactor: Represents an animated Scalar built using the underlying InteractionTracker's Scale component.

Applies to