ScrollPresenter 类

定义

/// [Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackMethodName(value="OnPropertyChanged")]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Version(1)]
/// [Windows.UI.Xaml.Markup.ContentProperty(Name="Content")]
class ScrollPresenter : FrameworkElement, IScrollAnchorProvider
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
/// [Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackMethodName(value="OnPropertyChanged")]
/// [Windows.Foundation.Metadata.Experimental]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.UI.Xaml.Markup.ContentProperty(Name="Content")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.XamlContract, 65536)]
class ScrollPresenter : FrameworkElement, IScrollAnchorProvider
[Microsoft.UI.Xaml.CustomAttributes.MUXContractProperty(version=0)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackMethodName(value="OnPropertyChanged")]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Version(1)]
[Windows.UI.Xaml.Markup.ContentProperty(Name="Content")]
public class ScrollPresenter : FrameworkElement, IScrollAnchorProvider
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallback(enable=true)]
[Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackMethodName(value="OnPropertyChanged")]
[Windows.Foundation.Metadata.Experimental]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.UI.Xaml.Markup.ContentProperty(Name="Content")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.XamlContract), 65536)]
public class ScrollPresenter : FrameworkElement, IScrollAnchorProvider
Public Class ScrollPresenter
Inherits FrameworkElement
Implements IScrollAnchorProvider
继承
ScrollPresenter
属性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackMethodNameAttribute ExperimentalAttribute MarshalingBehaviorAttribute ThreadingAttribute VersionAttribute ContentPropertyAttribute ContractVersionAttribute
实现

构造函数

ScrollPresenter()

属性

Background
BackgroundProperty
Content
ContentOrientation
ContentOrientationProperty
ContentProperty
CurrentAnchor
ExpressionAnimationSources
ExtentHeight
ExtentWidth
HorizontalAnchorRatio
HorizontalAnchorRatioProperty
HorizontalOffset
HorizontalScrollChainMode
HorizontalScrollChainModeProperty
HorizontalScrollController
HorizontalScrollMode
HorizontalScrollModeProperty
HorizontalScrollRailMode
HorizontalScrollRailModeProperty
HorizontalSnapPoints
IgnoredInputKinds
IgnoredInputKindsProperty
MaxZoomFactor
MaxZoomFactorProperty
MinZoomFactor
MinZoomFactorProperty
ScrollableHeight
ScrollableWidth
State
VerticalAnchorRatio
VerticalAnchorRatioProperty
VerticalOffset
VerticalScrollChainMode
VerticalScrollChainModeProperty
VerticalScrollController
VerticalScrollMode
VerticalScrollModeProperty
VerticalScrollRailMode
VerticalScrollRailModeProperty
VerticalSnapPoints
ViewportHeight
ViewportWidth
ZoomChainMode
ZoomChainModeProperty
ZoomFactor
ZoomMode
ZoomModeProperty
ZoomSnapPoints

方法

AddScrollVelocity(Vector2, IReference<Vector2>)
AddZoomVelocity(Single, IReference<Vector2>, IReference<Single>)
RegisterAnchorCandidate(UIElement)
ScrollBy(Double, Double, ScrollingScrollOptions)
ScrollBy(Double, Double)
ScrollTo(Double, Double, ScrollingScrollOptions)
ScrollTo(Double, Double)
UnregisterAnchorCandidate(UIElement)
ZoomBy(Single, IReference<Vector2>, ScrollingZoomOptions)
ZoomBy(Single, IReference<Vector2>)
ZoomTo(Single, IReference<Vector2>, ScrollingZoomOptions)
ZoomTo(Single, IReference<Vector2>)

事件

AnchorRequested
BringingIntoView
ExtentChanged
ScrollAnimationStarting
ScrollCompleted
StateChanged
ViewChanged
ZoomAnimationStarting
ZoomCompleted

适用于