IScrollControllerPanningInfo.SetPanningElementExpressionAnimationSources 方法

定义

提供有关用于支持平移的表达式动画的信息。

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)

参数

propertySet
CompositionPropertySet

一组组合属性。

minOffsetPropertyName
String

Platform::String

winrt::hstring

最小滚动偏移量值。

maxOffsetPropertyName
String

Platform::String

winrt::hstring

最大滚动偏移量值。

offsetPropertyName
String

Platform::String

winrt::hstring

当前滚动偏移值。

multiplierPropertyName
String

Platform::String

winrt::hstring

表示内容的子级和ScrollPresenter内容的PanningElementAncestor相对移动的比率。

适用于