ZoomContentControl Class
Represents a content control that can interactively zoom and pan it's content.
[TemplatePart(Name = "PART_Canvas", Type = typeof(Canvas))]
[TemplatePart(Name = "PART_PanPad", Type = typeof(PanPad))]
[TemplatePart(Name = "PART_ViewControlPane", Type = typeof(FrameworkElement))]
[TemplatePart(Name = "PART_ZoomDecorator", Type = typeof(ZoomDecorator))]
public class ZoomContentControl : ContentControl, ILogicalParent
- Inheritance:
- object Visual UIElement FrameworkElement Control ContentControl object
- Implements:
- ILogicalParent
Constructors
ZoomContentControl()
Initializes an instance of the class.
public ZoomContentControl()
Properties
AreDefaultInputBindingsEnabled
A value indicating whether the default input bindings are automatically added.
public bool AreDefaultInputBindingsEnabled { get; set; }
Property Value
- bool:
trueif the default input bindings are automatically added; otherwisefalse. The default value istrue.
AreOverlaysVisible
A value indicating whether the overlays are visible.
public bool AreOverlaysVisible { get; set; }
Property Value
- bool:
trueif the overlays are visible; otherwisefalse. The default value istrue.
AreZoomButtonsVisible
A value indicating whether the zoom buttons are visible on the view control pane.
public bool AreZoomButtonsVisible { get; set; }
Property Value
- bool:
trueif the zoom buttons are visible on the view control pane; otherwisefalse. The default value istrue.
ButtonBaseStyleKey
The ResourceKey for a Style that can be applied ButtonBase elements.
Canvas
The Canvas used to render items on top of the content.
CenterPoint
The current center point of the view.
public Point? CenterPoint { get; set; }
Property Value
- Point?:
The default value is
null.
CenterPointResolved
The resolved center point of the view.
public Point? CenterPointResolved { get; }
Property Value
- Point?:
The default value is
null.
Remarks
This value can differ from CenterPoint when virtual space is disabled and the center point is coerced.
ChildSize
The size of the child element.
public Size ChildSize { get; }
Property Value
- Size:
The default value is
0,0.
DefaultCenterPoint
The default center point of the view.
public Point? DefaultCenterPoint { get; set; }
Property Value
- Point?:
The default value is
null.
DefaultZoomLevel
The default zoom level.
HasHorizontalItems
A value indicating whether HorizontalItems is empty.
public bool HasHorizontalItems { get; }
Property Value
- bool:
trueif HorizontalItems has one or more items; otherwisefalse. The default value isfalse.
HorizontalItems
The additional items displayed in the top row of the view control pane.
public LogicalChildrenCollection<UIElement> HorizontalItems { get; }
Property Value
HorizontalScrollBarVisibility
A value that indicates whether a horizontal ScrollBar should be displayed.
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
Property Value
- ScrollBarVisibility:
The default value is
ScrollBarVisibility.Visible.
HorizontalScrollLineStep
The value used when incrementing and decrementing the horizontal offset by a line.
public Unit HorizontalScrollLineStep { get; set; }
Property Value
- Unit:
The default value is
1pixel.
HorizontalScrollPageStep
The value used when incrementing and decrementing the horizontal offset by a page.
public Unit HorizontalScrollPageStep { get; set; }
Property Value
- Unit:
The default value is
100percent of the viewport.
HorizontalSeparatorStyleKey
The ResourceKey for a Style that can be applied Separator elements.
IsPanPadVisible
A value indicating whether the pan pad is visible in the view control pane.
public bool IsPanPadVisible { get; set; }
Property Value
- bool:
trueif the pan pad is visible in the view control pane; otherwisefalse. The default value istrue.
IsResetViewButtonVisible
A value indicating whether the reset view button is visible in the view control pane.
public bool IsResetViewButtonVisible { get; set; }
Property Value
- bool:
trueif the reset view button is visible in the view control pane; otherwisefalse. The default value istrue.
IsViewControlPaneMinimizable
A value indicating whether the view control pane is minimizable.
public bool IsViewControlPaneMinimizable { get; set; }
Property Value
- bool:
trueif the view control pane is minimizable; otherwisefalse. The default value istrue.
IsViewControlPaneMinimized
A value indicating whether the view control pane is minimized.
public bool IsViewControlPaneMinimized { get; set; }
Property Value
- bool:
trueif the view control pane is minimized; otherwisefalse. The default value isfalse.
IsViewControlPaneVisible
A value indicating whether the view control pane is visible.
public bool IsViewControlPaneVisible { get; set; }
Property Value
- bool:
trueif the view control pane is visible; otherwisefalse. The default value istrue.
IsVirtualSpaceEnabled
A value indicating whether virtual space is enabled, which allows all parts of the content to be centered in the view.
public bool IsVirtualSpaceEnabled { get; set; }
Property Value
- bool:
trueif virtual space is enabled, which allows all parts of the content to be centered in the view; otherwisefalse. The default value isfalse.
IsZoomLabelVisible
A value indicating whether the zoom label is visible in the view control pane.
public bool IsZoomLabelVisible { get; set; }
Property Value
- bool:
trueif the zoom label is visible in the view control pane; otherwisefalse. The default value istrue.
IsZoomSliderVisible
A value indicating whether the zoom slider is visible in the view control pane.
public bool IsZoomSliderVisible { get; set; }
Property Value
- bool:
trueif the zoom slider is visible in the view control pane; otherwisefalse. The default value istrue.
IsZoomToFitButtonVisible
A value indicating whether the zoom-to-fit button is visible in the view control pane.
public bool IsZoomToFitButtonVisible { get; set; }
Property Value
- bool:
trueif the zoom-to-fit button is visible in the view control pane; otherwisefalse. The default value istrue.
LogicalChildren
Gets an enumerator to the content control's logical child elements.
protected override IEnumerator? LogicalChildren { get; }
Property Value
- IEnumerator:
An enumerator. The default value is
null.
MaxZoomLevel
A percentage value indicating the maximum zoom level of the content.
MinZoomLevel
A percentage value indicating the minimum zoom level of the content.
public double MinZoomLevel { get; set; }
Property Value
- double:
A percentage value indicating the minimum zoom level of the content. The default value is
0.1.
Overlays
The additional items overlaid on top of the content.
public LogicalChildrenCollection<UIElement> Overlays { get; }
Property Value
PanAnimationDuration
The Duration to animate the panning from one location to another.
public Duration PanAnimationDuration { get; set; }
Property Value
- Duration:
The default value is
200ms.
Remarks
Set to 0ms or Duration.Automatic to disable pan animation.
See Also
PopupButtonStyleKey
The ResourceKey for a Style that can be applied PopupButton elements.
VerticalScrollBarVisibility
A value that indicates whether a vertical ScrollBar should be displayed.
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
- ScrollBarVisibility:
The default value is Visible.
VerticalScrollLineStep
The value used when incrementing and decrementing the vertical offset by a line.
VerticalScrollPageStep
The value used when incrementing and decrementing the vertical offset by a page.
public Unit VerticalScrollPageStep { get; set; }
Property Value
- Unit:
The default value is
100percent of the viewport.
VerticalSeparatorStyleKey
The ResourceKey for a Style that can be applied Separator elements.
ViewControlPaneOpacityAnimated
The current opacity of the view control pane background as it animates between ViewControlPaneOpacityHover and ViewControlPaneOpacityNormal.
public double ViewControlPaneOpacityAnimated { get; set; }
Property Value
- double:
The default value is
1.0.
Remarks
This property is used by the ZoomContentControl to animate the opacity of the view control pane and should not be explicitly set.
ViewControlPaneOpacityHover
The opacity of the view control pane background when the mouse is hovering.
public double ViewControlPaneOpacityHover { get; set; }
Property Value
- double:
The default value is
1.0.
ViewControlPaneOpacityNormal
The opacity of the view control pane background when the mouse is not hovering.
public double ViewControlPaneOpacityNormal { get; set; }
Property Value
- double:
The default value is
1.0.
ViewportSize
The size of the viewport.
public Size ViewportSize { get; }
Property Value
- Size:
The default value is
0,0.
ZoomAnimationDuration
The Duration to animate the scale from one zoom level to the next.
public Duration ZoomAnimationDuration { get; set; }
Property Value
- Duration:
The default value is
300ms.
Remarks
Set to 0ms or Duration.Automatic to disable zoom animation.
See Also
ZoomLevel
A percentage value indicating the current zoom level of the content.
public double ZoomLevel { get; set; }
Property Value
- double:
The default value is
double.NaN, which indicates that DefaultZoomLevel will be used.
ZoomLevelStops
The possible zoom level stops when zooming in or out incrementally.
public DoubleCollection? ZoomLevelStops { get; set; }
Property Value
- DoubleCollection:
The default value is
null, which indicates that ZoomStep should be used.
ZoomStep
The value used when incrementing and decrementing the zoom level.
Methods
BeginUpdate()
Flags that a bulk update is about to begin.
public void BeginUpdate()
CenterAndZoomInToPoint(Point?)
Centers the view to the specified point and zooms the content in using ZoomLevelStops or ZoomStep.
public void CenterAndZoomInToPoint(Point? point)
| Parameter | Type | Description |
|---|---|---|
| point | Point? | The point to center; otherwise |
CenterAndZoomOutFromPoint(Point?)
Centers the view to the specified point and zooms the content out using ZoomLevelStops or ZoomStep.
public void CenterAndZoomOutFromPoint(Point? point)
| Parameter | Type | Description |
|---|---|---|
| point | Point? | The point to center; otherwise |
CenterToPoint(Point?)
Centers the view to the specified point.
public void CenterToPoint(Point? point)
| Parameter | Type | Description |
|---|---|---|
| point | Point? | The point to center; otherwise |
CenterView()
Centers the content in the view.
public void CenterView()
CenterView(Orientation)
Centers the content in the view either horizontally or vertically.
public void CenterView(Orientation orientation)
| Parameter | Type | Description |
|---|---|---|
| orientation | Orientation | The orientation that should be centered. |
EndUpdate()
Flags that a bulk update has ended.
public void EndUpdate()
EndUpdate(bool)
Flags that a bulk update has ended.
public void EndUpdate(bool animate)
| Parameter | Type | Description |
|---|---|---|
| animate | bool | if set to |
LineDown()
Scrolls the content down by VerticalScrollLineStep.
public void LineDown()
LineDown(double)
Scrolls the content down by VerticalScrollLineStep multiplied by the specified factor.
public void LineDown(double factor)
| Parameter | Type | Description |
|---|---|---|
| factor | double | The factor to multiply the line step by. |
LineLeft()
Scrolls the content left by HorizontalScrollLineStep.
public void LineLeft()
LineLeft(double)
Scrolls the content left by HorizontalScrollLineStep multiplied by the specified factor.
public void LineLeft(double factor)
| Parameter | Type | Description |
|---|---|---|
| factor | double | The factor to multiply the line step by. |
LineRight()
Scrolls the content right by HorizontalScrollLineStep.
public void LineRight()
LineRight(double)
Scrolls the content right by HorizontalScrollLineStep multiplied by the specified factor.
public void LineRight(double factor)
| Parameter | Type | Description |
|---|---|---|
| factor | double | The factor to multiply the line step by. |
LineUp()
Scrolls the content up by VerticalScrollLineStep.
public void LineUp()
LineUp(double)
Scrolls the content up by VerticalScrollLineStep multiplied by the specified factor.
public void LineUp(double factor)
| Parameter | Type | Description |
|---|---|---|
| factor | double | The factor to multiply the line step by. |
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer? OnCreateAutomationPeer()
Returns
- AutomationPeer:
The type-specific AutomationPeer implementation.
OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs)
Invoked just before the IsKeyboardFocusWithinChanged event is raised by this element. Implement this method to add class handling for this event.
protected override void OnIsKeyboardFocusWithinChanged(DependencyPropertyChangedEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | DependencyPropertyChangedEventArgs | A System.Windows.DependencyPropertyChangedEventArgs that contains the event data. |
OnLostMouseCapture(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.LostMouseCapture attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnLostMouseCapture(MouseEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | MouseEventArgs | The MouseEventArgs that contains event data. |
OnMouseEnter(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseEnter attached event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseEnter(MouseEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | MouseEventArgs | The MouseEventArgs that contains the event data. |
OnMouseLeave(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseLeave attached event is raised on this element. Implement this method to add class handling for this event.
protected override void OnMouseLeave(MouseEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | MouseEventArgs | The MouseEventArgs that contains the event data. |
OnMouseMove(MouseEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseMove attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseMove(MouseEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | MouseEventArgs | The MouseEventArgs that contains the event data. |
OnMouseUp(MouseButtonEventArgs)
Invoked when an unhandled System.Windows.Input.Mouse.MouseUp routed event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnMouseUp(MouseButtonEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | MouseButtonEventArgs | The MouseButtonEventArgs that contains the event data. The event data reports that the mouse button was released. |
OnPreviewKeyDown(KeyEventArgs)
Invoked when an unhandled System.Windows.Input.Keyboard.PreviewKeyDown attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnPreviewKeyDown(KeyEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | KeyEventArgs | The KeyEventArgs that contains the event data. |
OnPreviewKeyUp(KeyEventArgs)
Invoked when an unhandled System.Windows.Input.Keyboard.PreviewKeyUp attached event reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.
protected override void OnPreviewKeyUp(KeyEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | KeyEventArgs | The KeyEventArgs that contains the event data. |
OnZoomLevelChanged(RoutedEventArgs)
Occurs when the ZoomLevel property value changes.
protected virtual void OnZoomLevelChanged(RoutedEventArgs e)
| Parameter | Type | Description |
|---|---|---|
| e | RoutedEventArgs | The |
Remarks
This method has no default implementation. Because an intermediate class in the inheritance might implement this method, we recommend that you call the base implementation in your implementation.
PageDown()
Scrolls the content down by VerticalScrollPageStep.
public void PageDown()
PageDown(double)
Scrolls the content down by VerticalScrollPageStep multiplied by the specified factor.
public void PageDown(double factor)
| Parameter | Type | Description |
|---|---|---|
| factor | double | The factor to multiply the page step by. |
PageLeft()
Scrolls the content left by HorizontalScrollPageStep.
public void PageLeft()
PageLeft(double)
Scrolls the content left by HorizontalScrollPageStep multiplied by the specified factor.
public void PageLeft(double factor)
| Parameter | Type | Description |
|---|---|---|
| factor | double | The factor to multiply the page step by. |
PageRight()
Scrolls the content right by HorizontalScrollPageStep.
public void PageRight()
PageRight(double)
Scrolls the content right by HorizontalScrollPageStep multiplied by the specified factor.
public void PageRight(double factor)
| Parameter | Type | Description |
|---|---|---|
| factor | double | The factor to multiply the page step by. |
PageUp()
Scrolls the content up by VerticalScrollPageStep.
public void PageUp()
PageUp(double)
Scrolls the content up by VerticalScrollPageStep multiplied by the specified factor.
public void PageUp(double factor)
| Parameter | Type | Description |
|---|---|---|
| factor | double | The factor to multiply the page step by. |
Pan(double, double)
Pans the view by the specified x and y offsets.
public void Pan(double xOffset, double yOffset)
| Parameter | Type | Description |
|---|---|---|
| xOffset | double | The offset to pan along the X-axis. |
| yOffset | double | The offset to pan along the Y-axis. |
ResetView()
Resets the view to the default zoom level and center point.
public void ResetView()
StartPanDrag()
Starts a pan-drag operation, where the user can move the content along with the mouse.
public void StartPanDrag()
Remarks
The left, right, or middle mouse button must be pressed when this method is called. Once the operation is started, the end-user can pan the content until the mouse button is released.
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Neither the left, the right, or the middle mouse button is down. |
StartZoomDrag()
Starts a zoom-drag operation, where the user can zoom-in by moving the mouse up and zoom-out by moving the mouse down.
public void StartZoomDrag()
Remarks
The left, right, or middle mouse button must be pressed when this method is called. Once the operation is started, the end-user can zoom the content until the mouse button is released.
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Neither the left, the right, or the middle mouse button is down. |
StartZoomIn()
Starts a zoom-in operation, where the user can continuously zoom-in by holding the mouse button down.
public void StartZoomIn()
Remarks
The left, right, or middle mouse button must be pressed when this method is called. Once the operation is started, the end-user can continuously zoom-in the content until the mouse button is released.
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Neither the left, the right, or the middle mouse button is down. |
StartZoomOut()
Starts a zoom-out operation, where the user can continuously zoom-out by holding the mouse button down.
public void StartZoomOut()
Remarks
The left, right, or middle mouse button must be pressed when this method is called. Once the operation is started, the end-user can continuously zoom-out the content until the mouse button is released.
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Neither the left, the right, or the middle mouse button is down. |
StartZoomToRegion()
Starts a zoom-to-region operation, where the user can draw a rectangle over the content to indicate the desired region.
public void StartZoomToRegion()
Remarks
The left, right, or middle mouse button must be pressed when this method is called. Once the operation is started, the end-user can draw a rectangle over the content until the mouse button is released.
Exceptions
| Type | Condition |
|---|---|
| InvalidOperationException | Neither the left, the right, or the middle mouse button is down. |
TranslatePointFromContent(Point)
Translates a point relative to the content element to coordinates that are relative to this element.
public Point TranslatePointFromContent(Point point)
| Parameter | Type | Description |
|---|---|---|
| point | Point | The point. |
Returns
- Point:
A point value, now relative to this element rather than the content element.
TranslatePointToContent(Point)
Translates a point relative to this element to coordinates that are relative to the content element.
public Point TranslatePointToContent(Point point)
| Parameter | Type | Description |
|---|---|---|
| point | Point | The point. |
Returns
- Point:
A point value, now relative to the content element rather than this element.
UpdateCursor()
Updates the Cursor based on the current state.
public virtual void UpdateCursor()
ZoomIn()
Zooms the content in using ZoomLevelStops or ZoomStep.
public void ZoomIn()
ZoomInToPoint(Point?)
Zooms the content in using ZoomLevelStops or ZoomStep with the specific point as an anchor.
public void ZoomInToPoint(Point? point)
| Parameter | Type | Description |
|---|---|---|
| point | Point? | The point to anchor; otherwise |
ZoomOut()
Zooms the content out using ZoomLevelStops or ZoomStep.
public void ZoomOut()
ZoomOutFromPoint(Point?)
Zooms the content out using ZoomLevelStops or ZoomStep with the specific point as an anchor.
public void ZoomOutFromPoint(Point? point)
| Parameter | Type | Description |
|---|---|---|
| point | Point? | The point to anchor; otherwise |
ZoomToFit()
Zooms the content so that it fits with-in the bounds of the control and centers the view.
public void ZoomToFit()
ZoomToFit(bool)
Zooms the content so that it fits with-in the bounds of the control.
public void ZoomToFit(bool centerView)
| Parameter | Type | Description |
|---|---|---|
| centerView | bool | if set to |
ZoomToFit(Orientation)
Zooms the content so that it fits with-in the bounds of the control and centers the view.
public void ZoomToFit(Orientation orientation)
| Parameter | Type | Description |
|---|---|---|
| orientation | Orientation | The orientation that should be fitted. |
ZoomToFit(Orientation, bool)
Zooms the content so that it fits with-in the bounds of the control.
public void ZoomToFit(Orientation orientation, bool centerView)
| Parameter | Type | Description |
|---|---|---|
| orientation | Orientation | The orientation that should be fitted. |
| centerView | bool | if set to |
Events
ZoomLevelChanged
Occurs when the ZoomLevel property value changes.
Fields
AreDefaultInputBindingsEnabledProperty
Defines the AreDefaultInputBindingsEnabled property.
public static readonly DependencyProperty AreDefaultInputBindingsEnabledProperty
AreOverlaysVisibleProperty
Defines the AreOverlaysVisible property.
public static readonly DependencyProperty AreOverlaysVisibleProperty
AreZoomButtonsVisibleProperty
Defines the AreZoomButtonsVisible property.
public static readonly DependencyProperty AreZoomButtonsVisibleProperty
CenterPointProperty
Defines the CenterPoint property.
public static readonly DependencyProperty CenterPointProperty
CenterPointResolvedProperty
Defines the read-only CenterPointResolved property.
public static readonly DependencyProperty CenterPointResolvedProperty
ChildSizeProperty
Defines the read-only ChildSize property.
public static readonly DependencyProperty ChildSizeProperty
DefaultCenterPointProperty
Defines the DefaultCenterPoint property.
public static readonly DependencyProperty DefaultCenterPointProperty
DefaultZoomLevelProperty
Defines the DefaultZoomLevel property.
public static readonly DependencyProperty DefaultZoomLevelProperty
HasHorizontalItemsProperty
Defines the read-only HasHorizontalItems property.
public static readonly DependencyProperty HasHorizontalItemsProperty
HorizontalScrollBarVisibilityProperty
Defines the HorizontalScrollBarVisibility property.
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty
HorizontalScrollLineStepProperty
Defines the HorizontalScrollLineStep property.
public static readonly DependencyProperty HorizontalScrollLineStepProperty
HorizontalScrollPageStepProperty
Defines the HorizontalScrollPageStep property.
public static readonly DependencyProperty HorizontalScrollPageStepProperty
IsPanPadVisibleProperty
Defines the IsPanPadVisible property.
public static readonly DependencyProperty IsPanPadVisibleProperty
IsResetViewButtonVisibleProperty
Defines the IsResetViewButtonVisible property.
public static readonly DependencyProperty IsResetViewButtonVisibleProperty
IsViewControlPaneMinimizableProperty
Defines the IsViewControlPaneMinimizable property.
public static readonly DependencyProperty IsViewControlPaneMinimizableProperty
IsViewControlPaneMinimizedProperty
Defines the IsViewControlPaneMinimized property.
public static readonly DependencyProperty IsViewControlPaneMinimizedProperty
IsViewControlPaneVisibleProperty
Defines the IsViewControlPaneVisible property.
public static readonly DependencyProperty IsViewControlPaneVisibleProperty
IsVirtualSpaceEnabledProperty
Defines the IsVirtualSpaceEnabled property.
public static readonly DependencyProperty IsVirtualSpaceEnabledProperty
IsZoomLabelVisibleProperty
Defines the IsZoomLabelVisible property.
public static readonly DependencyProperty IsZoomLabelVisibleProperty
IsZoomSliderVisibleProperty
Defines the IsZoomSliderVisible property.
public static readonly DependencyProperty IsZoomSliderVisibleProperty
IsZoomToFitButtonVisibleProperty
Defines the IsZoomToFitButtonVisible property.
public static readonly DependencyProperty IsZoomToFitButtonVisibleProperty
MaxZoomLevelProperty
Defines the MaxZoomLevel property.
public static readonly DependencyProperty MaxZoomLevelProperty
MinZoomLevelProperty
Defines the MinZoomLevel property.
public static readonly DependencyProperty MinZoomLevelProperty
PanAnimationDurationProperty
Defines the PanAnimationDuration property.
public static readonly DependencyProperty PanAnimationDurationProperty
VerticalScrollBarVisibilityProperty
Defines the VerticalScrollBarVisibility property.
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty
VerticalScrollLineStepProperty
Defines the VerticalScrollLineStep property.
public static readonly DependencyProperty VerticalScrollLineStepProperty
VerticalScrollPageStepProperty
Defines the VerticalScrollPageStep property.
public static readonly DependencyProperty VerticalScrollPageStepProperty
ViewControlPaneOpacityAnimatedProperty
Defines the ViewControlPaneOpacityAnimated property.
public static readonly DependencyProperty ViewControlPaneOpacityAnimatedProperty
ViewControlPaneOpacityHoverProperty
Defines the ViewControlPaneOpacityHover property.
public static readonly DependencyProperty ViewControlPaneOpacityHoverProperty
ViewControlPaneOpacityNormalProperty
Defines the ViewControlPaneOpacityNormal property.
public static readonly DependencyProperty ViewControlPaneOpacityNormalProperty
ViewportSizeProperty
Defines the read-only ViewportSize property.
public static readonly DependencyProperty ViewportSizeProperty
ZoomAnimationDurationProperty
Defines the ZoomAnimationDuration property.
public static readonly DependencyProperty ZoomAnimationDurationProperty
ZoomLevelChangedEvent
Defines the ZoomLevelChanged routed event.
public static readonly RoutedEvent ZoomLevelChangedEvent
ZoomLevelProperty
Defines the ZoomLevel property.
public static readonly DependencyProperty ZoomLevelProperty
ZoomLevelStopsProperty
Defines the ZoomLevelStops property.
public static readonly DependencyProperty ZoomLevelStopsProperty
ZoomStepProperty
Defines the ZoomStep property.
public static readonly DependencyProperty ZoomStepProperty