共用方式為


IScrollController 介面

定義

public interface class IScrollController
/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Guid(1610682836, 5018, 22495, 140, 140, 40, 158, 48, 125, 12, 195)]
/// [Windows.Foundation.Metadata.Version(1)]
struct IScrollController
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.Guid(1610682836, 5018, 22495, 140, 140, 40, 158, 48, 125, 12, 195)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
struct IScrollController
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Guid(1610682836, 5018, 22495, 140, 140, 40, 158, 48, 125, 12, 195)]
[Windows.Foundation.Metadata.Version(1)]
public interface IScrollController
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.Guid(1610682836, 5018, 22495, 140, 140, 40, 158, 48, 125, 12, 195)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public interface IScrollController
Public Interface IScrollController
屬性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute ExperimentalAttribute GuidAttribute VersionAttribute ContractVersionAttribute

屬性

AreScrollControllerInteractionsAllowed
AreScrollerInteractionsAllowed
InteractionElement
InteractionElementScrollOrientation
IsInteracting
IsInteractionElementRailEnabled

方法

GetScrollAnimation(Int32, Vector2, CompositionAnimation)
NotifyScrollCompleted(Int32)
SetExpressionAnimationSources(CompositionPropertySet, String, String, String, String)
SetScrollMode(ScrollingScrollMode)
SetValues(Double, Double, Double, Double)

事件

AddScrollVelocityRequested
InteractionInfoChanged
InteractionRequested
ScrollByRequested
ScrollToRequested

適用於