Pan and zoom control for Avalonia.
[PseudoClasses(new string[] { ":isPanning" })]
public class ZoomBorder : Border, IAvaloniaObjectDebug, INotifyPropertyChanged, IDataContextProvider, ILogical, IThemeVariantHost, IResourceHost, IResourceNode, IStyleHost, ISetLogicalParent, ISetInheritanceParent, ISupportInitialize, INamed, IAvaloniaListItemValidator<ILogical>, IAvaloniaListItemValidator<Visual>, IInputElement, IDataTemplateHost, IVisualBrushInitialize, ISetterValue, IVisualWithRoundRectClip, ILogicalScrollable, IScrollable
kind:method, kind:property, kind:ctor. Press Esc to clear.ZoomBorder()Initializes a new instance of the ZoomBorder class.AnimationDurationPropertyIdentifies the AnimationDuration avalonia property.AutoCalculateMaxZoomPropertyIdentifies the AutoCalculateMaxZoom avalonia property.AutoCalculateMinZoomPropertyIdentifies the AutoCalculateMinZoom avalonia property.BoundsModePropertyIdentifies the BoundsMode avalonia property.BoundsPaddingPropertyIdentifies the BoundsPadding avalonia property.CenterPaddingPropertyIdentifies the CenterPadding avalonia property.DiscreteZoomLevelsPropertyIdentifies the DiscreteZoomLevels avalonia property.DoubleClickZoomFactorPropertyIdentifies the DoubleClickZoomFactor avalonia property.DoubleClickZoomModePropertyIdentifies the DoubleClickZoomMode avalonia property.EnableAnimationsPropertyIdentifies the EnableAnimations avalonia property.EnableConstrainsPropertyIdentifies the EnableConstrains avalonia property.EnableDiscreteZoomLevelsPropertyIdentifies the EnableDiscreteZoomLevels avalonia property.EnableDoubleClickZoomPropertyIdentifies the EnableDoubleClickZoom avalonia property.EnableGestureRotationPropertyIdentifies the EnableGestureRotation avalonia property.EnableGesturesPropertyIdentifies the EnableGestures avalonia property.EnableGestureTranslationPropertyIdentifies the EnableGestureTranslation avalonia property.EnableGestureZoomPropertyIdentifies the EnableGestureZoom avalonia property.EnableKeyboardNavigationPropertyIdentifies the EnableKeyboardNavigation avalonia property.EnablePanPropertyIdentifies the EnablePan avalonia property.EnableRotationSnappingPropertyIdentifies the EnableRotationSnapping avalonia property.EnableSimultaneousPanZoomPropertyIdentifies the EnableSimultaneousPanZoom avalonia property. When true, allows pan and zoom gestures to occur simultaneously. When false, only one gesture type is active at a time.EnableSnapToGridPropertyIdentifies the EnableSnapToGrid avalonia property.EnableViewHistoryPropertyIdentifies the EnableViewHistory avalonia property.EnableZoomPropertyIdentifies the EnableZoom avalonia property.FillCommandPropertyIdentifies the FillCommand avalonia property.FitCommandPropertyIdentifies the FitCommand avalonia property.GestureRecognitionDelayPropertyIdentifies the GestureRecognitionDelay avalonia property. Controls the delay before a gesture is recognized, allowing time to accumulate touch points. Default is zero (no delay). Set a positive value to enable gesture recognition delay.GridBrushPropertyIdentifies the GridBrush avalonia property.GridOpacityPropertyIdentifies the GridOpacity avalonia property.GridSizePropertyIdentifies the GridSize avalonia property.GridThicknessPropertyIdentifies the GridThickness avalonia property.IsZoomIndicatorVisiblePropertyIdentifies the IsZoomIndicatorVisible avalonia property. This is a read-only property that indicates whether the zoom indicator is currently visible.KeyboardPanStepPropertyIdentifies the KeyboardPanStep avalonia property.KeyboardZoomStepPropertyIdentifies the KeyboardZoomStep avalonia property.MajorGridBrushPropertyIdentifies the MajorGridBrush avalonia property.MajorGridIntervalPropertyIdentifies the MajorGridInterval avalonia property.MajorGridThicknessPropertyIdentifies the MajorGridThickness avalonia property.MaximumTouchPointsPropertyIdentifies the MaximumTouchPoints avalonia property. Controls the maximum number of touch points that will be tracked for gestures.MaxOffsetXPropertyIdentifies the MaxOffsetX avalonia property.MaxOffsetYPropertyIdentifies the MaxOffsetY avalonia property.MaxRotationPropertyIdentifies the MaxRotation avalonia property.MaxZoomPixelSizePropertyIdentifies the MaxZoomPixelSize avalonia property.MaxZoomXPropertyIdentifies the MaxZoomX avalonia property.MaxZoomYPropertyIdentifies the MaxZoomY avalonia property.MinimumTouchPointsPropertyIdentifies the MinimumTouchPoints avalonia property. Controls the minimum number of touch points required to activate gestures.MinimumVisibleContentPercentagePropertyIdentifies the MinimumVisibleContentPercentage avalonia property.MinOffsetXPropertyIdentifies the MinOffsetX avalonia property.MinOffsetYPropertyIdentifies the MinOffsetY avalonia property.MinRotationPropertyIdentifies the MinRotation avalonia property.MinZoomXPropertyIdentifies the MinZoomX avalonia property.MinZoomYPropertyIdentifies the MinZoomY avalonia property.NavigateBackCommandPropertyIdentifies the NavigateBackCommand avalonia property.NavigateForwardCommandPropertyIdentifies the NavigateForwardCommand avalonia property.OffsetXPropertyIdentifies the OffsetX avalonia property.OffsetYPropertyIdentifies the OffsetY avalonia property.PanButtonPropertyIdentifies the PanButton avalonia property.PanPositionDescriptionPropertyIdentifies the PanPositionDescription avalonia property.PowerFactorPropertyIdentifies the PowerFactor avalonia property.ResetCommandPropertyIdentifies the ResetCommand avalonia property.ResizeBehaviorPropertyIdentifies the ResizeBehavior avalonia property.RotationPropertyIdentifies the Rotation avalonia property.RotationSnapAnglePropertyIdentifies the RotationSnapAngle avalonia property.ShowGridPropertyIdentifies the ShowGrid avalonia property.ShowZoomIndicatorPropertyIdentifies the ShowZoomIndicator avalonia property. When true, a zoom indicator will be displayed temporarily after zoom operations.StretchPropertyIdentifies the Stretch avalonia property.ToggleStretchCommandPropertyIdentifies the ToggleStretchCommand avalonia property.TransitionThresholdPropertyIdentifies the TransitionThreshold avalonia property.UniformCommandPropertyIdentifies the UniformCommand avalonia property.UniformToFillCommandPropertyIdentifies the UniformToFillCommand avalonia property.UseHighContrastModePropertyIdentifies the UseHighContrastMode avalonia property.ViewHistorySizePropertyIdentifies the ViewHistorySize avalonia property.WheelBehaviorPropertyIdentifies the WheelBehavior avalonia property.WheelPanSensitivityPropertyIdentifies the WheelPanSensitivity avalonia property.WheelWithCtrlPropertyIdentifies the WheelWithCtrl avalonia property.WheelWithShiftPropertyIdentifies the WheelWithShift avalonia property.WheelZoomSensitivityPropertyIdentifies the WheelZoomSensitivity avalonia property.ZoomInCommandPropertyIdentifies the ZoomInCommand avalonia property.ZoomIndicatorAutoHideDurationPropertyIdentifies the ZoomIndicatorAutoHideDuration avalonia property. Controls how long the zoom indicator remains visible before auto-hiding.ZoomIndicatorFormatPropertyIdentifies the ZoomIndicatorFormat avalonia property.ZoomIndicatorPositionPropertyIdentifies the ZoomIndicatorPosition avalonia property.ZoomLevelDescriptionPropertyIdentifies the ZoomLevelDescription avalonia property.ZoomOutCommandPropertyIdentifies the ZoomOutCommand avalonia property.ZoomSpeedPropertyIdentifies the ZoomSpeed avalonia property.ZoomXPropertyIdentifies the ZoomX avalonia property.ZoomYPropertyIdentifies the ZoomY avalonia property.AnimationDurationGets or sets the duration of animations for zoom and pan operations.AutoCalculateMaxZoomGets or sets a value indicating whether to automatically calculate maximum zoom.AutoCalculateMinZoomGets or sets a value indicating whether to automatically calculate minimum zoom.BoundsModeGets or sets the content bounds restriction mode.BoundsPaddingGets or sets the padding around content bounds.ButtonNamesGets available button names.CanHorizontallyScrollGets or sets whether horizontal scrolling is enabled for the logical scroll contract.CanNavigateBackGets a value indicating whether the control can navigate back in view history.CanNavigateForwardGets a value indicating whether the control can navigate forward in view history.CanVerticallyScrollGets or sets whether vertical scrolling is enabled for the logical scroll contract.CenterPaddingGets or sets the padding to apply when centering on a point or element.DiscreteZoomLevelsGets or sets the array of discrete zoom levels.DoubleClickZoomFactorGets or sets the zoom factor for double-click zoom operations.DoubleClickZoomModeGets or sets the double-click zoom behavior mode.EnableAnimationsGets or sets flag indicating whether animations are enabled for zoom and pan operations.EnableConstrainsGets or sets flag indicating whether zoom ratio and pan offset constrains are applied.EnableDiscreteZoomLevelsGets or sets flag indicating whether discrete zoom levels are enabled.EnableDoubleClickZoomGets or sets flag indicating whether double-click zoom is enabled.EnableGestureRotationGets or sets flag indicating whether rotation gesture is enabled.EnableGesturesGets or sets flag indicating whether gestures are enabled.EnableGestureTranslationGets or sets flag indicating whether translation (pan) gesture is enabled.EnableGestureZoomGets or sets flag indicating whether zoom gesture is enabled.EnableKeyboardNavigationGets or sets flag indicating whether keyboard navigation is enabled.EnablePanGets or sets flag indicating whether pan input events are processed.EnableRotationSnappingGets or sets a value indicating whether rotation snapping is enabled.EnableSimultaneousPanZoomGets or sets a value indicating whether simultaneous pan and zoom is enabled. When true, allows pan and zoom gestures to occur at the same time.EnableSnapToGridGets or sets a value indicating whether to enable snap to grid.EnableViewHistoryGets or sets flag indicating whether view history is enabled.EnableZoomGets or sets flag indicating whether input zoom events are processed.FillCommandGets the command to fill viewport.FitCommandGets the command to fit content to viewport.GestureRecognitionDelayGets or sets the gesture recognition delay before recognizing a gesture.GridBrushGets or sets the grid brush.GridOpacityGets or sets the grid opacity.GridSizeGets or sets the grid size.GridThicknessGets or sets the grid thickness.IsZoomIndicatorVisibleGets a value indicating whether the zoom indicator is currently visible. This property is read-only and controlled by the auto-hide timer.KeyboardPanStepGets or sets the pan step distance for keyboard navigation.KeyboardZoomStepGets or sets the zoom step factor for keyboard navigation.MajorGridBrushGets or sets the major grid brush.MajorGridIntervalGets or sets the major grid interval.MajorGridThicknessGets or sets the major grid thickness.MatrixGets the render transform matrix.MaximumTouchPointsGets or sets the maximum number of touch points that will be tracked.MaxOffsetXGets or sets maximum offset for x axis.MaxOffsetYGets or sets maximum offset for y axis.MaxRotationGets or sets the maximum rotation angle in degrees.MaxZoomPixelSizeGets or sets the maximum zoom pixel size (1 content pixel = N screen pixels).MaxZoomXGets or sets maximum zoom ratio for x axis.MaxZoomYGets or sets maximum zoom ratio for y axis.MinimumTouchPointsGets or sets the minimum number of touch points required to activate gestures.MinimumVisibleContentPercentageGets or sets the minimum percentage of content that must remain visible.MinOffsetXGets or sets minimum offset for x axis.MinOffsetYGets or sets minimum offset for y axis.MinRotationGets or sets the minimum rotation angle in degrees.MinZoomXGets or sets minimum zoom ratio for x axis.MinZoomYGets or sets minimum zoom ratio for y axis.NavigateBackCommandGets the command to navigate back in view history.NavigateForwardCommandGets the command to navigate forward in view history.OffsetXGets the pan offset for x axis.OffsetYGets the pan offset for y axis.PanButtonGets or sets pan input button.PanPositionDescriptionGets or sets the pan position description for accessibility.PowerFactorGets or sets the power factor used to transform the mouse wheel delta value.ResetCommandGets the command to reset the view.ResizeBehaviorGets or sets the behavior when the control is resized.RotationGets or sets the current rotation angle in degrees.RotationSnapAngleGets or sets the rotation snap angle in degrees.ShowGridGets or sets a value indicating whether to show the grid.ShowZoomIndicatorGets or sets a value indicating whether to show the zoom indicator.StretchGets or sets stretch mode.StretchModesGets available stretch modes.ToggleStretchCommandGets the command to toggle stretch mode.TransitionThresholdGets or sets the threshold below which zoom operations will skip all transitions.UniformCommandGets the command to apply uniform stretch.UniformToFillCommandGets the command to apply uniform to fill stretch.UseHighContrastModeGets or sets a value indicating whether to use high contrast mode.ViewHistorySizeGets or sets the maximum number of view states to store in history.WheelBehaviorGets or sets the default mouse wheel behavior (no modifiers).WheelPanSensitivityGets or sets the pan sensitivity for mouse wheel operations.WheelWithCtrlGets or sets the mouse wheel behavior when Ctrl key is pressed.WheelWithShiftGets or sets the mouse wheel behavior when Shift key is pressed.WheelZoomSensitivityGets or sets the zoom sensitivity for mouse wheel operations.ZoomInCommandGets the command to zoom in.ZoomIndicatorAutoHideDurationGets or sets the auto-hide duration for the zoom indicator.ZoomIndicatorFormatGets or sets the format string for the zoom indicator.ZoomIndicatorPositionGets or sets the position of the zoom indicator.ZoomLevelDescriptionGets or sets the zoom level description for accessibility.ZoomOutCommandGets the command to zoom out.ZoomSpeedGets or sets zoom speed ratio.ZoomXGets the zoom ratio for x axis.ZoomYGets the zoom ratio for y axis.ArrangeOverride(Size)Arranges the control's child.AutoFit(Boolean)Zoom and pan child element inside panel using stretch mode.AutoFit(Double, Double, Double, Double, Boolean)Zoom and pan child element inside panel using stretch mode.BeginPanTo(Double, Double)Set pan origin.CalculateAutoZoomLimits()Calculates automatic zoom limits based on content and viewport size.CalculateMatrix(Double, Double, Double, Double, StretchMode)Calculate pan and zoom matrix based on provided stretch mode.CalculateScrollable(Rect, Size, Matrix, out Size, out Size, out Vector)Calculate scrollable properties.CanPanOnPointerWheel(PointerWheelEventArgs)Checks if panning is allowed on pointer-wheel event.CanZoomOnPointerWheel(PointerWheelEventArgs)Checks if zooming is allowed on pointer-wheel event.CenterOn(Control, Boolean)Centers the viewport on a control element.CenterOn(Point, Boolean)Centers the viewport on a specific point in content coordinates.CenterOn(Point, Double, Boolean)Centers the viewport on a specific point in content coordinates with a specific zoom level.CenterOn(Rect, Boolean)Centers the viewport on a rectangle in content coordinates.ClearSavedViews()Clears all saved views.ClearViewHistory()Clears the view history.ContentToScreen(Size)Converts a content size to screen size.ContentToScreen(Vector)Converts a content vector to screen vector.ContentToViewport(Point)Converts a content point to viewport coordinates.ContentToViewport(Rect)Converts a content rectangle to viewport coordinates.ContinuePanTo(Double, Double, Boolean)Continue pan to provided target point.DeleteSavedView(String)Deletes a saved view.ExportState()Exports the current state of the ZoomBorder control.Fill(Boolean)Zoom and pan to fill panel.Fill(Double, Double, Double, Double, Boolean)Zoom and pan to fill panel.GetAccessibilityDescription()Gets the current accessibility description.GetContentBounds()Virtual method to get custom content bounds.GetContentToScreenMatrix()Gets the transformation matrix from content to screen coordinates.GetEffectiveZoomLimits(out Double, out Double, out Double, out Double)Gets the effective zoom limits considering both manual settings and auto-calculated values.GetNextDiscreteZoomLevel()Gets the next discrete zoom level up from current zoom.GetPreviousDiscreteZoomLevel()Gets the previous discrete zoom level down from current zoom.GetSavedView(String)Gets a saved view by name.GetSavedViewNames()Gets all saved view names.GetSavedViews()Gets all saved views.GetScreenToContentMatrix()Gets the transformation matrix from screen to content coordinates.GetViewportBounds()Gets the viewport bounds in viewport coordinates.GetVisibleContentBounds()Gets the visible content bounds in content coordinates.GetVisiblePortion(Rect)Gets the intersection of a rectangle with the visible content bounds.GetZoomIndicatorPosition()Gets the position for the zoom indicator based on the configured position.GetZoomIndicatorText()Gets the zoom indicator text based on the current zoom level.ImportState(ZoomBorderState, Boolean)Imports state into the ZoomBorder control.IsPointVisible(Point)Determines if a point in content coordinates is visible in the viewport.IsRectangleVisible(Rect)Determines if a rectangle in content coordinates is visible in the viewport.NavigateBack(Boolean)Navigate back to the previous view state in history.NavigateForward(Boolean)Navigate forward to the next view state in history.None(Boolean)Zoom and pan.None(Double, Double, Double, Double, Boolean)Zoom and pan.OnResized(Size, Size)Virtual method called when control is resized in Custom resize behavior mode.OnZoomChanged(ZoomChangedEventArgs)Raises ZoomChanged event.Pan(Double, Double, Boolean)Pan control to set the viewport offset to the specified values.PanDelta(Double, Double, Boolean)Pan control to provided delta.RaiseAutoFitApplied(StretchModeChangedEventArgs)Raises the AutoFitApplied event.RaiseGestureEnded(GestureEventArgs)Raises the GestureEnded event.RaiseGestureStarted(GestureEventArgs)Raises the GestureStarted event.RaiseMatrixChanged(MatrixChangedEventArgs)Raises the MatrixChanged event.RaiseMatrixReset(MatrixChangedEventArgs)Raises the MatrixReset event.RaisePanContinued(PanEventArgs)Raises the PanContinued event.RaisePanEnded(PanEventArgs)Raises the PanEnded event.RaisePanStarted(PanEventArgs)Raises the PanStarted event.RaiseStretchModeChanged(StretchModeChangedEventArgs)Raises the StretchModeChanged event.RaiseZoomDeltaChanged(ZoomEventArgs)Raises the ZoomDeltaChanged event.RaiseZoomEnded(ZoomEventArgs)Raises the ZoomEnded event.RaiseZoomStarted(ZoomEventArgs)Raises the ZoomStarted event.ResetMatrix()Reset pan and zoom matrix.ResetMatrix(Boolean)Reset pan and zoom matrix.ResetRotation(Boolean)Resets the rotation to zero.RestoreView(String, Boolean)Restores a previously saved view.Rotate(Double, Boolean)Rotates the content by the specified angle in degrees.RotateAt(Double, Point, Boolean)Rotates the content by the specified angle around a center point.SaveView(String, String?)Saves the current view with a name.ScreenToContent(Size)Converts a screen size to content size.ScreenToContent(Vector)Converts a screen vector to content vector.SetMatrix(Matrix, Boolean)Set pan and zoom matrix.SnapRotation()Snaps the current rotation to the nearest snap angle.SnapToGrid(Point)Snaps a point to the nearest grid point.SnapToGrid(Rect)Snaps a rectangle to the nearest grid points.SnapToGrid(Double)Snaps a value to the nearest grid point.ToggleStretchMode()Set next stretch mode.TransformContentToViewport(Rect, Matrix)Transforms content bounds to viewport coordinates, accounting for layout offset.TransformContentToViewport(Rect, Point, Matrix)Transforms a rectangle in content coordinates to viewport coordinates, accounting for layout offset.Uniform(Boolean)Zoom and pan to panel extents while maintaining aspect ratio.Uniform(Double, Double, Double, Double, Boolean)Zoom and pan to panel extents while maintaining aspect ratio.UniformToFill(Boolean)Zoom and pan to panel extents while maintaining aspect ratio. If aspect of panel is different panel is filled.UniformToFill(Double, Double, Double, Double, Boolean)Zoom and pan to panel extents while maintaining aspect ratio. If aspect of panel is different panel is filled.UpdateAccessibilityDescriptions()Updates accessibility descriptions based on current state.ValidateTransform(Matrix)Virtual method to validate transform matrix.ViewportToContent(Point)Converts a viewport point to content coordinates.ViewportToContent(Rect)Converts a viewport rectangle to content coordinates.Zoom(Double, Double, Double, Boolean)Zoom to provided zoom value and provided center point.ZoomDeltaTo(Double, Double, Double, Boolean)Zoom to provided zoom delta ratio and provided center point.ZoomIn(Boolean)Zoom in one step positive delta ratio and panel center point.ZoomOut(Boolean)Zoom out one step positive delta ratio and panel center point.ZoomTo(Double, Double, Double, Boolean)Zoom to provided zoom ratio and provided center point.ZoomToLevel(Double, Double, Double, Boolean)Zooms to a specific discrete level.ZoomToRectangle(Rect, Nullable<Thickness>, Boolean)Zooms to fit a specific rectangle in content coordinates.ZoomToRectangleExact(Rect, Rect, Boolean)Zooms to fit a specific rectangle with exact pixel dimensions.AutoFitAppliedAuto fit applied event.GestureEndedGesture ended event.GestureStartedGesture started event.MatrixChangedMatrix changed event.MatrixResetMatrix reset event.PanContinuedPan continued event.PanEndedPan ended event.PanStartedPan started event.StretchModeChangedStretch mode changed event.ViewHistoryChangedView history changed event.ZoomChangedZoom changed event.ZoomDeltaChangedZoom delta changed event.ZoomEndedZoom ended event.ZoomStartedZoom started event.