ScrollView 类

定义

/// [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 ScrollView : Control
/// [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 ScrollView : Control
[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 ScrollView : Control
[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 ScrollView : Control
Public Class ScrollView
Inherits Control
继承
ScrollView
属性
Microsoft.UI.Xaml.CustomAttributes.MUXContractPropertyAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackAttribute Microsoft.UI.Xaml.CustomAttributes.MUXPropertyChangedCallbackMethodNameAttribute ExperimentalAttribute MarshalingBehaviorAttribute ThreadingAttribute VersionAttribute ContentPropertyAttribute ContractVersionAttribute

构造函数

ScrollView()

属性

ComputedHorizontalScrollBarVisibility
ComputedHorizontalScrollBarVisibilityProperty
ComputedVerticalScrollBarVisibility
ComputedVerticalScrollBarVisibilityProperty
Content
ContentOrientation
ContentOrientationProperty
ContentProperty
CurrentAnchor
ExpressionAnimationSources
ExtentHeight
ExtentWidth
HorizontalAnchorRatio
HorizontalAnchorRatioProperty
HorizontalOffset
HorizontalScrollBarVisibility
HorizontalScrollBarVisibilityProperty
HorizontalScrollChainMode
HorizontalScrollChainModeProperty
HorizontalScrollMode
HorizontalScrollModeProperty
HorizontalScrollRailMode
HorizontalScrollRailModeProperty
IgnoredInputKinds
IgnoredInputKindsProperty
MaxZoomFactor
MaxZoomFactorProperty
MinZoomFactor
MinZoomFactorProperty
ScrollableHeight
ScrollableWidth
ScrollPresenterProperty
State
VerticalAnchorRatio
VerticalAnchorRatioProperty
VerticalOffset
VerticalScrollBarVisibility
VerticalScrollBarVisibilityProperty
VerticalScrollChainMode
VerticalScrollChainModeProperty
VerticalScrollMode
VerticalScrollModeProperty
VerticalScrollRailMode
VerticalScrollRailModeProperty
ViewportHeight
ViewportWidth
ZoomChainMode
ZoomChainModeProperty
ZoomFactor
ZoomMode
ZoomModeProperty

方法

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

适用于