IScrollControllerPanningInfo.SetPanningElementExpressionAnimationSources 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.
Provides information for expression animations used to support panning.
public:
void SetPanningElementExpressionAnimationSources(CompositionPropertySet ^ propertySet, Platform::String ^ minOffsetPropertyName, Platform::String ^ maxOffsetPropertyName, Platform::String ^ offsetPropertyName, Platform::String ^ multiplierPropertyName);
void SetPanningElementExpressionAnimationSources(CompositionPropertySet const& propertySet, winrt::hstring const& minOffsetPropertyName, winrt::hstring const& maxOffsetPropertyName, winrt::hstring const& offsetPropertyName, winrt::hstring const& multiplierPropertyName);
public void SetPanningElementExpressionAnimationSources(CompositionPropertySet propertySet, string minOffsetPropertyName, string maxOffsetPropertyName, string offsetPropertyName, string multiplierPropertyName);
function setPanningElementExpressionAnimationSources(propertySet, minOffsetPropertyName, maxOffsetPropertyName, offsetPropertyName, multiplierPropertyName)
Public Sub SetPanningElementExpressionAnimationSources (propertySet As CompositionPropertySet, minOffsetPropertyName As String, maxOffsetPropertyName As String, offsetPropertyName As String, multiplierPropertyName As String)
Parameters
- propertySet
- CompositionPropertySet
A set of composition properties.
- minOffsetPropertyName
-
String
Platform::String
winrt::hstring
The minimum scroll offset value.
- maxOffsetPropertyName
-
String
Platform::String
winrt::hstring
The maximum scroll offset value.
- offsetPropertyName
-
String
Platform::String
winrt::hstring
The current scroll offset value.
- multiplierPropertyName
-
String
Platform::String
winrt::hstring
A ratio that represents the relative movement of the content PanningElementAncestor
's child and ScrollPresenter
content.