共用方式為


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

表示內容 PanningElementAncestor子系和 ScrollPresenter 內容的相對移動比例。

適用於