ScrollViewer Classe

Definizione

public ref class ScrollViewer sealed : ContentControl, IScrollAnchorProvider
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ScrollViewer final : ContentControl, IScrollAnchorProvider
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ScrollViewer : ContentControl, IScrollAnchorProvider
Public NotInheritable Class ScrollViewer
Inherits ContentControl
Implements IScrollAnchorProvider
Ereditarietà
Object Platform::Object IInspectable DependencyObject UIElement FrameworkElement Control ContentControl ScrollViewer
Attributi
Implementazioni

Costruttori

Nome Descrizione
ScrollViewer()

Proprietà

Nome Descrizione
AccessKey (Ereditato da UIElement)
AccessKeyScopeOwner (Ereditato da UIElement)
ActualHeight (Ereditato da FrameworkElement)
ActualOffset (Ereditato da UIElement)
ActualSize (Ereditato da UIElement)
ActualTheme (Ereditato da FrameworkElement)
ActualWidth (Ereditato da FrameworkElement)
AllowDrop (Ereditato da UIElement)
AllowFocusOnInteraction (Ereditato da FrameworkElement)
AllowFocusWhenDisabled (Ereditato da FrameworkElement)
Background (Ereditato da Control)
BackgroundSizing (Ereditato da Control)
BaseUri (Ereditato da FrameworkElement)
BorderBrush (Ereditato da Control)
BorderThickness (Ereditato da Control)
BringIntoViewOnFocusChange
BringIntoViewOnFocusChangeProperty
CacheMode (Ereditato da UIElement)
CanBeScrollAnchor (Ereditato da UIElement)
CanContentRenderOutsideBounds
CanContentRenderOutsideBoundsProperty
CanDrag (Ereditato da UIElement)
CenterPoint (Ereditato da UIElement)
CharacterSpacing (Ereditato da Control)
Clip (Ereditato da UIElement)
CompositeMode (Ereditato da UIElement)
ComputedHorizontalScrollBarVisibility
ComputedHorizontalScrollBarVisibilityProperty
ComputedVerticalScrollBarVisibility
ComputedVerticalScrollBarVisibilityProperty
Content (Ereditato da ContentControl)
ContentTemplate (Ereditato da ContentControl)
ContentTemplateRoot (Ereditato da ContentControl)
ContentTemplateSelector (Ereditato da ContentControl)
ContentTransitions (Ereditato da ContentControl)
ContextFlyout (Ereditato da UIElement)
CornerRadius (Ereditato da Control)
CurrentAnchor
DataContext (Ereditato da FrameworkElement)
DefaultStyleKey (Ereditato da Control)
DefaultStyleResourceUri (Ereditato da Control)
DesiredSize (Ereditato da UIElement)
Dispatcher (Ereditato da DependencyObject)
DispatcherQueue (Ereditato da DependencyObject)
ElementSoundMode (Ereditato da Control)
ExitDisplayModeOnAccessKeyInvoked (Ereditato da UIElement)
ExtentHeight
ExtentHeightProperty
ExtentWidth
ExtentWidthProperty
FlowDirection (Ereditato da FrameworkElement)
FocusState (Ereditato da UIElement)
FocusVisualMargin (Ereditato da FrameworkElement)
FocusVisualPrimaryBrush (Ereditato da FrameworkElement)
FocusVisualPrimaryThickness (Ereditato da FrameworkElement)
FocusVisualSecondaryBrush (Ereditato da FrameworkElement)
FocusVisualSecondaryThickness (Ereditato da FrameworkElement)
FontFamily (Ereditato da Control)
FontSize (Ereditato da Control)
FontStretch (Ereditato da Control)
FontStyle (Ereditato da Control)
FontWeight (Ereditato da Control)
Foreground (Ereditato da Control)
Height (Ereditato da FrameworkElement)
HighContrastAdjustment (Ereditato da UIElement)
HorizontalAlignment (Ereditato da FrameworkElement)
HorizontalAnchorRatio
HorizontalAnchorRatioProperty
HorizontalContentAlignment (Ereditato da Control)
HorizontalOffset
HorizontalOffsetProperty
HorizontalScrollBarVisibility
HorizontalScrollBarVisibilityProperty
HorizontalScrollMode
HorizontalScrollModeProperty
HorizontalSnapPointsAlignment
HorizontalSnapPointsAlignmentProperty
HorizontalSnapPointsType
HorizontalSnapPointsTypeProperty
IsAccessKeyScope (Ereditato da UIElement)
IsDeferredScrollingEnabled
IsDeferredScrollingEnabledProperty
IsDoubleTapEnabled (Ereditato da UIElement)
IsEnabled (Ereditato da Control)
IsFocusEngaged (Ereditato da Control)
IsFocusEngagementEnabled (Ereditato da Control)
IsHitTestVisible (Ereditato da UIElement)
IsHoldingEnabled (Ereditato da UIElement)
IsHorizontalRailEnabled
IsHorizontalRailEnabledProperty
IsHorizontalScrollChainingEnabled
IsHorizontalScrollChainingEnabledProperty
IsLoaded (Ereditato da FrameworkElement)
IsRightTapEnabled (Ereditato da UIElement)
IsScrollInertiaEnabled
IsScrollInertiaEnabledProperty
IsTabStop (Ereditato da UIElement)
IsTapEnabled (Ereditato da UIElement)
IsTextScaleFactorEnabled (Ereditato da Control)
IsVerticalRailEnabled
IsVerticalRailEnabledProperty
IsVerticalScrollChainingEnabled
IsVerticalScrollChainingEnabledProperty
IsZoomChainingEnabled
IsZoomChainingEnabledProperty
IsZoomInertiaEnabled
IsZoomInertiaEnabledProperty
KeyboardAcceleratorPlacementMode (Ereditato da UIElement)
KeyboardAcceleratorPlacementTarget (Ereditato da UIElement)
KeyboardAccelerators (Ereditato da UIElement)
KeyTipHorizontalOffset (Ereditato da UIElement)
KeyTipPlacementMode (Ereditato da UIElement)
KeyTipTarget (Ereditato da UIElement)
KeyTipVerticalOffset (Ereditato da UIElement)
Language (Ereditato da FrameworkElement)
LeftHeader
LeftHeaderProperty
Lights (Ereditato da UIElement)
ManipulationMode (Ereditato da UIElement)
Margin (Ereditato da FrameworkElement)
MaxHeight (Ereditato da FrameworkElement)
MaxWidth (Ereditato da FrameworkElement)
MaxZoomFactor
MaxZoomFactorProperty
MinHeight (Ereditato da FrameworkElement)
MinWidth (Ereditato da FrameworkElement)
MinZoomFactor
MinZoomFactorProperty
Name (Ereditato da FrameworkElement)
Opacity (Ereditato da UIElement)
OpacityTransition (Ereditato da UIElement)
Padding (Ereditato da Control)
Parent (Ereditato da FrameworkElement)
PointerCaptures (Ereditato da UIElement)
Projection (Ereditato da UIElement)
ProtectedCursor (Ereditato da UIElement)
RasterizationScale (Ereditato da UIElement)
ReduceViewportForCoreInputViewOcclusions
ReduceViewportForCoreInputViewOcclusionsProperty
RenderSize (Ereditato da UIElement)
RenderTransform (Ereditato da UIElement)
RenderTransformOrigin (Ereditato da UIElement)
RequestedTheme (Ereditato da FrameworkElement)
RequiresPointer (Ereditato da Control)
Resources (Ereditato da FrameworkElement)
Rotation (Ereditato da UIElement)
RotationAxis (Ereditato da UIElement)
RotationTransition (Ereditato da UIElement)
Scale (Ereditato da UIElement)
ScaleTransition (Ereditato da UIElement)
ScrollableHeight
ScrollableHeightProperty
ScrollableWidth
ScrollableWidthProperty
Shadow (Ereditato da UIElement)
Style (Ereditato da FrameworkElement)
TabFocusNavigation (Ereditato da UIElement)
TabIndex (Ereditato da UIElement)
TabNavigation (Ereditato da Control)
Tag (Ereditato da FrameworkElement)
Template (Ereditato da Control)
TopHeader
TopHeaderProperty
TopLeftHeader
TopLeftHeaderProperty
Transform3D (Ereditato da UIElement)
TransformMatrix (Ereditato da UIElement)
Transitions (Ereditato da UIElement)
Translation (Ereditato da UIElement)
TranslationTransition (Ereditato da UIElement)
Triggers (Ereditato da FrameworkElement)
UseLayoutRounding (Ereditato da UIElement)
UseSystemFocusVisuals (Ereditato da UIElement)
VerticalAlignment (Ereditato da FrameworkElement)
VerticalAnchorRatio
VerticalAnchorRatioProperty
VerticalContentAlignment (Ereditato da Control)
VerticalOffset
VerticalOffsetProperty
VerticalScrollBarVisibility
VerticalScrollBarVisibilityProperty
VerticalScrollMode
VerticalScrollModeProperty
VerticalSnapPointsAlignment
VerticalSnapPointsAlignmentProperty
VerticalSnapPointsType
VerticalSnapPointsTypeProperty
ViewportHeight
ViewportHeightProperty
ViewportWidth
ViewportWidthProperty
Visibility (Ereditato da UIElement)
Width (Ereditato da FrameworkElement)
XamlRoot (Ereditato da UIElement)
XYFocusDown (Ereditato da UIElement)
XYFocusDownNavigationStrategy (Ereditato da UIElement)
XYFocusKeyboardNavigation (Ereditato da UIElement)
XYFocusLeft (Ereditato da UIElement)
XYFocusLeftNavigationStrategy (Ereditato da UIElement)
XYFocusRight (Ereditato da UIElement)
XYFocusRightNavigationStrategy (Ereditato da UIElement)
XYFocusUp (Ereditato da UIElement)
XYFocusUpNavigationStrategy (Ereditato da UIElement)
ZoomFactor
ZoomFactorProperty
ZoomMode
ZoomModeProperty
ZoomSnapPoints
ZoomSnapPointsProperty
ZoomSnapPointsType
ZoomSnapPointsTypeProperty

Metodi

Nome Descrizione
AddHandler(RoutedEvent, Object, Boolean) (Ereditato da UIElement)
ApplyTemplate() (Ereditato da Control)
Arrange(Rect) (Ereditato da UIElement)
ArrangeOverride(Size) (Ereditato da FrameworkElement)
CancelDirectManipulations() (Ereditato da UIElement)
CapturePointer(Pointer) (Ereditato da UIElement)
ChangeView(IReference<Double>, IReference<Double>, IReference<Single>, Boolean)
ChangeView(IReference<Double>, IReference<Double>, IReference<Single>)
ClearValue(DependencyProperty) (Ereditato da DependencyObject)
FindName(String) (Ereditato da FrameworkElement)
FindSubElementsForTouchTargeting(Point, Rect) (Ereditato da UIElement)
Focus(FocusState) (Ereditato da UIElement)
GetAnimationBaseValue(DependencyProperty) (Ereditato da DependencyObject)
GetBindingExpression(DependencyProperty) (Ereditato da FrameworkElement)
GetBringIntoViewOnFocusChange(DependencyObject)
GetCanContentRenderOutsideBounds(DependencyObject)
GetChildrenInTabFocusOrder() (Ereditato da UIElement)
GetHorizontalScrollBarVisibility(DependencyObject)
GetHorizontalScrollMode(DependencyObject)
GetIsDeferredScrollingEnabled(DependencyObject)
GetIsHorizontalRailEnabled(DependencyObject)
GetIsHorizontalScrollChainingEnabled(DependencyObject)
GetIsScrollInertiaEnabled(DependencyObject)
GetIsVerticalRailEnabled(DependencyObject)
GetIsVerticalScrollChainingEnabled(DependencyObject)
GetIsZoomChainingEnabled(DependencyObject)
GetIsZoomInertiaEnabled(DependencyObject)
GetTemplateChild(String) (Ereditato da Control)
GetValue(DependencyProperty) (Ereditato da DependencyObject)
GetVerticalScrollBarVisibility(DependencyObject)
GetVerticalScrollMode(DependencyObject)
GetVisualInternal() (Ereditato da UIElement)
GetZoomMode(DependencyObject)
GoToElementStateCore(String, Boolean) (Ereditato da FrameworkElement)
InvalidateArrange() (Ereditato da UIElement)
InvalidateMeasure() (Ereditato da UIElement)
InvalidateScrollInfo()
InvalidateViewport() (Ereditato da FrameworkElement)
Measure(Size) (Ereditato da UIElement)
MeasureOverride(Size) (Ereditato da FrameworkElement)
OnApplyTemplate() (Ereditato da FrameworkElement)
OnBringIntoViewRequested(BringIntoViewRequestedEventArgs) (Ereditato da UIElement)
OnCharacterReceived(CharacterReceivedRoutedEventArgs) (Ereditato da Control)
OnContentChanged(Object, Object) (Ereditato da ContentControl)
OnContentTemplateChanged(DataTemplate, DataTemplate) (Ereditato da ContentControl)
OnContentTemplateSelectorChanged(DataTemplateSelector, DataTemplateSelector) (Ereditato da ContentControl)
OnCreateAutomationPeer() (Ereditato da UIElement)
OnDisconnectVisualChildren() (Ereditato da UIElement)
OnDoubleTapped(DoubleTappedRoutedEventArgs) (Ereditato da Control)
OnDragEnter(DragEventArgs) (Ereditato da Control)
OnDragLeave(DragEventArgs) (Ereditato da Control)
OnDragOver(DragEventArgs) (Ereditato da Control)
OnDrop(DragEventArgs) (Ereditato da Control)
OnGotFocus(RoutedEventArgs) (Ereditato da Control)
OnHolding(HoldingRoutedEventArgs) (Ereditato da Control)
OnKeyboardAcceleratorInvoked(KeyboardAcceleratorInvokedEventArgs) (Ereditato da UIElement)
OnKeyDown(KeyRoutedEventArgs) (Ereditato da Control)
OnKeyUp(KeyRoutedEventArgs) (Ereditato da Control)
OnLostFocus(RoutedEventArgs) (Ereditato da Control)
OnManipulationCompleted(ManipulationCompletedRoutedEventArgs) (Ereditato da Control)
OnManipulationDelta(ManipulationDeltaRoutedEventArgs) (Ereditato da Control)
OnManipulationInertiaStarting(ManipulationInertiaStartingRoutedEventArgs) (Ereditato da Control)
OnManipulationStarted(ManipulationStartedRoutedEventArgs) (Ereditato da Control)
OnManipulationStarting(ManipulationStartingRoutedEventArgs) (Ereditato da Control)
OnPointerCanceled(PointerRoutedEventArgs) (Ereditato da Control)
OnPointerCaptureLost(PointerRoutedEventArgs) (Ereditato da Control)
OnPointerEntered(PointerRoutedEventArgs) (Ereditato da Control)
OnPointerExited(PointerRoutedEventArgs) (Ereditato da Control)
OnPointerMoved(PointerRoutedEventArgs) (Ereditato da Control)
OnPointerPressed(PointerRoutedEventArgs) (Ereditato da Control)
OnPointerReleased(PointerRoutedEventArgs) (Ereditato da Control)
OnPointerWheelChanged(PointerRoutedEventArgs) (Ereditato da Control)
OnPreviewKeyDown(KeyRoutedEventArgs) (Ereditato da Control)
OnPreviewKeyUp(KeyRoutedEventArgs) (Ereditato da Control)
OnProcessKeyboardAccelerators(ProcessKeyboardAcceleratorEventArgs) (Ereditato da UIElement)
OnRightTapped(RightTappedRoutedEventArgs) (Ereditato da Control)
OnTapped(TappedRoutedEventArgs) (Ereditato da Control)
PopulatePropertyInfo(String, AnimationPropertyInfo) (Ereditato da UIElement)
PopulatePropertyInfoOverride(String, AnimationPropertyInfo) (Ereditato da UIElement)
ReadLocalValue(DependencyProperty) (Ereditato da DependencyObject)
RegisterAnchorCandidate(UIElement)
RegisterPropertyChangedCallback(DependencyProperty, DependencyPropertyChangedCallback) (Ereditato da DependencyObject)
ReleasePointerCapture(Pointer) (Ereditato da UIElement)
ReleasePointerCaptures() (Ereditato da UIElement)
RemoveFocusEngagement() (Ereditato da Control)
RemoveHandler(RoutedEvent, Object) (Ereditato da UIElement)
ScrollToHorizontalOffset(Double)
ScrollToVerticalOffset(Double)
SetBinding(DependencyProperty, BindingBase) (Ereditato da FrameworkElement)
SetBringIntoViewOnFocusChange(DependencyObject, Boolean)
SetCanContentRenderOutsideBounds(DependencyObject, Boolean)
SetHorizontalScrollBarVisibility(DependencyObject, ScrollBarVisibility)
SetHorizontalScrollMode(DependencyObject, ScrollMode)
SetIsDeferredScrollingEnabled(DependencyObject, Boolean)
SetIsHorizontalRailEnabled(DependencyObject, Boolean)
SetIsHorizontalScrollChainingEnabled(DependencyObject, Boolean)
SetIsScrollInertiaEnabled(DependencyObject, Boolean)
SetIsVerticalRailEnabled(DependencyObject, Boolean)
SetIsVerticalScrollChainingEnabled(DependencyObject, Boolean)
SetIsZoomChainingEnabled(DependencyObject, Boolean)
SetIsZoomInertiaEnabled(DependencyObject, Boolean)
SetValue(DependencyProperty, Object) (Ereditato da DependencyObject)
SetVerticalScrollBarVisibility(DependencyObject, ScrollBarVisibility)
SetVerticalScrollMode(DependencyObject, ScrollMode)
SetZoomMode(DependencyObject, ZoomMode)
StartAnimation(ICompositionAnimationBase) (Ereditato da UIElement)
StartBringIntoView() (Ereditato da UIElement)
StartBringIntoView(BringIntoViewOptions) (Ereditato da UIElement)
StartDragAsync(ExpPointerPoint) (Ereditato da UIElement)
StartDragAsync(PointerPoint) (Ereditato da UIElement)
StopAnimation(ICompositionAnimationBase) (Ereditato da UIElement)
TransformToVisual(UIElement) (Ereditato da UIElement)
TryInvokeKeyboardAccelerator(ProcessKeyboardAcceleratorEventArgs) (Ereditato da UIElement)
UnregisterAnchorCandidate(UIElement)
UnregisterPropertyChangedCallback(DependencyProperty, Int64) (Ereditato da DependencyObject)
UpdateLayout() (Ereditato da UIElement)
ZoomToFactor(Single)

Eventi

Nome Descrizione
AccessKeyDisplayDismissed (Ereditato da UIElement)
AccessKeyDisplayRequested (Ereditato da UIElement)
AccessKeyInvoked (Ereditato da UIElement)
ActualThemeChanged (Ereditato da FrameworkElement)
AnchorRequested
BringIntoViewRequested (Ereditato da UIElement)
CharacterReceived (Ereditato da UIElement)
ContextCanceled (Ereditato da UIElement)
ContextRequested (Ereditato da UIElement)
DataContextChanged (Ereditato da FrameworkElement)
DirectManipulationCompleted
DirectManipulationStarted
DoubleTapped (Ereditato da UIElement)
DragEnter (Ereditato da UIElement)
DragLeave (Ereditato da UIElement)
DragOver (Ereditato da UIElement)
DragStarting (Ereditato da UIElement)
Drop (Ereditato da UIElement)
DropCompleted (Ereditato da UIElement)
EffectiveViewportChanged (Ereditato da FrameworkElement)
FocusDisengaged (Ereditato da Control)
FocusEngaged (Ereditato da Control)
GettingFocus (Ereditato da UIElement)
GotFocus (Ereditato da UIElement)
Holding (Ereditato da UIElement)
IsEnabledChanged (Ereditato da Control)
KeyDown (Ereditato da UIElement)
KeyUp (Ereditato da UIElement)
LayoutUpdated (Ereditato da FrameworkElement)
Loaded (Ereditato da FrameworkElement)
Loading (Ereditato da FrameworkElement)
LosingFocus (Ereditato da UIElement)
LostFocus (Ereditato da UIElement)
ManipulationCompleted (Ereditato da UIElement)
ManipulationDelta (Ereditato da UIElement)
ManipulationInertiaStarting (Ereditato da UIElement)
ManipulationStarted (Ereditato da UIElement)
ManipulationStarting (Ereditato da UIElement)
NoFocusCandidateFound (Ereditato da UIElement)
PointerCanceled (Ereditato da UIElement)
PointerCaptureLost (Ereditato da UIElement)
PointerEntered (Ereditato da UIElement)
PointerExited (Ereditato da UIElement)
PointerMoved (Ereditato da UIElement)
PointerPressed (Ereditato da UIElement)
PointerReleased (Ereditato da UIElement)
PointerWheelChanged (Ereditato da UIElement)
PreviewKeyDown (Ereditato da UIElement)
PreviewKeyUp (Ereditato da UIElement)
ProcessKeyboardAccelerators (Ereditato da UIElement)
RightTapped (Ereditato da UIElement)
SizeChanged (Ereditato da FrameworkElement)
Tapped (Ereditato da UIElement)
Unloaded (Ereditato da FrameworkElement)
ViewChanged
ViewChanging

Si applica a