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
Remarks
For detailed documentation on this control's features and how to use them, please see the ZoomContentControl-related series of documentation topics.
Constructors
ZoomContentControl()
Initializes a new instance of the ZoomContentControl class.
public ZoomContentControl()
Properties
AreDefaultInputBindingsEnabled
Gets or sets a value indicating whether the default input bindings are automatically added. This is a dependency property.
public bool AreDefaultInputBindingsEnabled { get; set; }
Property Value
- bool:
true
if the default input bindings are automatically added; otherwisefalse
. The default value istrue
.
AreOverlaysVisible
Gets or sets a value indicating whether the overlays are visible. This is a dependency property.
public bool AreOverlaysVisible { get; set; }
Property Value
- bool:
true
if the overlays are visible; otherwisefalse
. The default value istrue
.
AreZoomButtonsVisible
Gets or sets a value indicating whether the zoom buttons are visible on the view control pane. This is a dependency property.
public bool AreZoomButtonsVisible { get; set; }
Property Value
- bool:
true
if the zoom buttons are visible on the view control pane; otherwisefalse
. The default value istrue
.
ButtonBaseStyleKey
Gets the ResourceKey for a Style that can be applied ButtonBase elements.
Canvas
Gets the Canvas used to render items on top of the content.
CenterPoint
Gets or sets the current center point of the view. This is a dependency property.
public Point? CenterPoint { get; set; }
Property Value
- Point?:
The current center point of the view. The default value is
null
.
CenterPointResolved
Gets the resolved center point of the view. This is a dependency property.
public Point? CenterPointResolved { get; }
Property Value
- Point?:
The resolved center point of the view. The default value is
null
.
Remarks
This value can differ from CenterPoint when virtual space is disabled and the center point is coerced.
ChildSize
Gets the size of the child element. This is a dependency property.
public Size ChildSize { get; }
Property Value
- Size:
The size of the child element. The default value is
0,0
.
DefaultCenterPoint
Gets or sets the default center point of the view. This is a dependency property.
public Point? DefaultCenterPoint { get; set; }
Property Value
- Point?:
The default center point of the view. The default value is
null
.
DefaultZoomLevel
Gets or sets the default zoom level. This is a dependency property.
public double DefaultZoomLevel { get; set; }
Property Value
- double:
The default zoom level. The default value is
1.0
.
HasHorizontalItems
Gets a value indicating whether HorizontalItems is empty. This is a dependency property.
public bool HasHorizontalItems { get; }
Property Value
- bool:
true
if HorizontalItems has one or more items; otherwisefalse
. The default value isfalse
.
HorizontalItems
Gets the additional items displayed in the top row of the view control pane.
public LogicalChildrenCollection<UIElement> HorizontalItems { get; }
Property Value
- LogicalChildrenCollection<UIElement>:
The additional items displayed in the top row of the view control pane.
HorizontalScrollBarVisibility
Gets or sets a value that indicates whether a horizontal ScrollBar should be displayed. This is a dependency property.
public ScrollBarVisibility HorizontalScrollBarVisibility { get; set; }
Property Value
- ScrollBarVisibility:
A ScrollBarVisibility value that indicates whether a horizontal ScrollBar should be displayed. The default value is
ScrollBarVisibility.Visible
.
HorizontalScrollLineStep
Gets or sets the value used when incrementing and decrementing the horizontal offset by a line. This is a dependency property.
public Unit HorizontalScrollLineStep { get; set; }
Property Value
- Unit:
The value used when incrementing and decrementing the horizontal offset by a line. The default value is
1
pixel.
HorizontalScrollPageStep
Gets or sets the value used when incrementing and decrementing the horizontal offset by a page. This is a dependency property.
public Unit HorizontalScrollPageStep { get; set; }
Property Value
- Unit:
The value used when incrementing and decrementing the horizontal offset by a page. The default value is
100
percent of the viewport.
HorizontalSeparatorStyleKey
Gets the ResourceKey for a Style that can be applied Separator elements.
public static ResourceKey HorizontalSeparatorStyleKey { get; }
Property Value
- ResourceKey:
A resource key.
IsPanPadVisible
Gets or sets a value indicating whether the pan pad is visible in the view control pane. This is a dependency property.
public bool IsPanPadVisible { get; set; }
Property Value
- bool:
true
if the pan pad is visible in the view control pane; otherwisefalse
. The default value istrue
.
IsResetViewButtonVisible
Gets or sets a value indicating whether the reset view button is visible in the view control pane. This is a dependency property.
public bool IsResetViewButtonVisible { get; set; }
Property Value
- bool:
true
if the reset view button is visible in the view control pane; otherwisefalse
. The default value istrue
.
IsViewControlPaneMinimizable
Gets or sets a value indicating whether the view control pane is minimizable. This is a dependency property.
public bool IsViewControlPaneMinimizable { get; set; }
Property Value
- bool:
true
if the view control pane is minimizable; otherwisefalse
. The default value istrue
.
IsViewControlPaneMinimized
Gets or sets a value indicating whether the view control pane is minimized. This is a dependency property.
public bool IsViewControlPaneMinimized { get; set; }
Property Value
- bool:
true
if the view control pane is minimized; otherwisefalse
. The default value isfalse
.
IsViewControlPaneVisible
Gets or sets a value indicating whether the view control pane is visible. This is a dependency property.
public bool IsViewControlPaneVisible { get; set; }
Property Value
- bool:
true
if the view control pane is visible; otherwisefalse
. The default value istrue
.
IsVirtualSpaceEnabled
Gets or sets a value indicating whether virtual space is enabled, which allows all parts of the content to be centered in the view. This is a dependency property.
public bool IsVirtualSpaceEnabled { get; set; }
Property Value
- bool:
true
if virtual space is enabled, which allows all parts of the content to be centered in the view; otherwisefalse
. The default value isfalse
.
IsZoomLabelVisible
Gets or sets a value indicating whether the zoom label is visible in the view control pane. This is a dependency property.
public bool IsZoomLabelVisible { get; set; }
Property Value
- bool:
true
if the zoom label is visible in the view control pane; otherwisefalse
. The default value istrue
.
IsZoomSliderVisible
Gets or sets a value indicating whether the zoom slider is visible in the view control pane. This is a dependency property.
public bool IsZoomSliderVisible { get; set; }
Property Value
- bool:
true
if the zoom slider is visible in the view control pane; otherwisefalse
. The default value istrue
.
IsZoomToFitButtonVisible
Gets or sets a value indicating whether the zoom-to-fit button is visible in the view control pane. This is a dependency property.
public bool IsZoomToFitButtonVisible { get; set; }
Property Value
- bool:
true
if the zoom-to-fit button is visible in the view control pane; otherwisefalse
. The default value istrue
.
LogicalChildren
Gets an enumerator for logical child elements of this element.
MaxZoomLevel
Gets or sets a percentage value indicating the maximum zoom level of the content. This is a dependency property.
public double MaxZoomLevel { get; set; }
Property Value
- double:
A percentage value indicating the maximum zoom level of the content. The default value is
10.0
.
MinZoomLevel
Gets or sets a percentage value indicating the minimum zoom level of the content. This is a dependency property.
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
Gets the additional items overlaid on top of the content.
public LogicalChildrenCollection<UIElement> Overlays { get; }
Property Value
- LogicalChildrenCollection<UIElement>:
The additional items overlaid on top of the content.
PanAnimationDuration
Gets or sets the Duration to animate the panning from one location to another. This is a dependency property.
public Duration PanAnimationDuration { get; set; }
Property Value
- Duration:
The Duration to animate the panning from one location to the next. The default value is
200ms
.
Remarks
Set to 0ms
or Duration.Automatic
to disable pan animation.
See Also
PopupButtonStyleKey
Gets the ResourceKey for a Style that can be applied PopupButton elements.
VerticalScrollBarVisibility
Gets or sets a value that indicates whether a vertical ScrollBar should be displayed. This is a dependency property.
public ScrollBarVisibility VerticalScrollBarVisibility { get; set; }
Property Value
- ScrollBarVisibility:
A ScrollBarVisibility value that indicates whether a vertical ScrollBar should be displayed. The default value is
ScrollBarVisibility.Visible
.
VerticalScrollLineStep
Gets or sets the value used when incrementing and decrementing the vertical offset by a line. This is a dependency property.
public Unit VerticalScrollLineStep { get; set; }
Property Value
- Unit:
The value used when incrementing and decrementing the vertical offset by a line. The default value is
1
pixel.
VerticalScrollPageStep
Gets or sets the value used when incrementing and decrementing the vertical offset by a page. This is a dependency property.
public Unit VerticalScrollPageStep { get; set; }
Property Value
- Unit:
The value used when incrementing and decrementing the vertical offset by a page. The default value is
100
percent of the viewport.
VerticalSeparatorStyleKey
Gets the ResourceKey for a Style that can be applied Separator elements.
public static ResourceKey VerticalSeparatorStyleKey { get; }
Property Value
- ResourceKey:
A resource key.
ViewControlPaneOpacityAnimated
Gets or sets the current opacity of the view control pane background as it animates between ViewControlPaneOpacityHover and ViewControlPaneOpacityNormal. This is a dependency property.
public double ViewControlPaneOpacityAnimated { get; set; }
Property Value
- double:
The current opacity of the view control pane background as it animates between ViewControlPaneOpacityHover and ViewControlPaneOpacityNormal. 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
Gets or sets the opacity of the view control pane background when the mouse is hovering. This is a dependency property.
public double ViewControlPaneOpacityHover { get; set; }
Property Value
- double:
The opacity of the view control pane background when the mouse is hovering. The default value is
1.0
.
ViewControlPaneOpacityNormal
Gets or sets the opacity of the view control pane background when the mouse is not hovering. This is a dependency property.
public double ViewControlPaneOpacityNormal { get; set; }
Property Value
- double:
The opacity of the view control pane background when the mouse is not hovering. The default value is
1.0
.
ViewportSize
Gets the size of the viewport. This is a dependency property.
public Size ViewportSize { get; }
Property Value
- Size:
The size of the viewport. The default value is
0,0
.
ZoomAnimationDuration
Gets or sets the Duration to animate the scale from one zoom level to the next. This is a dependency property.
public Duration ZoomAnimationDuration { get; set; }
Property Value
- Duration:
The Duration to animate the scale from one zoom level to the next. The default value is
300ms
.
Remarks
Set to 0ms
or Duration.Automatic
to disable zoom animation.
See Also
ZoomLevel
Gets or sets a percentage value indicating the current zoom level of the content. This is a dependency property.
public double ZoomLevel { get; set; }
Property Value
- double:
A percentage value indicating the current zoom level of the content.. The default value is
double.NaN
, which indicates that DefaultZoomLevel will be used.
ZoomLevelStops
Gets or sets the possible zoom level stops when zooming in or out incrementally. This is a dependency property.
public DoubleCollection ZoomLevelStops { get; set; }
Property Value
- DoubleCollection:
The possible zoom level stops when zooming in or out incrementally. The default value is
null
, which indicates that ZoomStep should be used.
ZoomStep
Gets or sets the value used when incrementing and decrementing the zoom level. This is a dependency property.
public double ZoomStep { get; set; }
Property Value
- double:
The value used when incrementing and decrementing the zoom level. The default value is
0.1
.
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.
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 Mouse.LostMouseCapture
attached event reaches an element in its route that is derived from this class.
protected override void OnLostMouseCapture(MouseEventArgs e)
Parameter | Type | Description |
---|---|---|
e | MouseEventArgs | The MouseEventArgs that contains event data. |
OnMouseEnter(MouseEventArgs)
Invoked when an unhandled Mouse.MouseEnter
attached event is raised on this element.
protected override void OnMouseEnter(MouseEventArgs e)
Parameter | Type | Description |
---|---|---|
e | MouseEventArgs | The MouseEventArgs that contains the event data. |
OnMouseLeave(MouseEventArgs)
Invoked when an unhandled Mouse.MouseLeave
attached event is raised on this element.
protected override void OnMouseLeave(MouseEventArgs e)
Parameter | Type | Description |
---|---|---|
e | MouseEventArgs | The MouseEventArgs that contains the event data. |
OnMouseMove(MouseEventArgs)
Invoked when an unhandled Mouse.MouseMove
attached event reaches an element in its route that is derived from this class.
protected override void OnMouseMove(MouseEventArgs e)
Parameter | Type | Description |
---|---|---|
e | MouseEventArgs | The MouseEventArgs that contains the event data. |
OnMouseUp(MouseButtonEventArgs)
Invoked when an unhandled 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 Keyboard.PreviewKeyDown
attached event reaches an element in its route that is derived from this class.
protected override void OnPreviewKeyDown(KeyEventArgs e)
Parameter | Type | Description |
---|---|---|
e | KeyEventArgs | The KeyEventArgs that contains the event data. |
OnPreviewKeyUp(KeyEventArgs)
Invoked when an unhandled Keyboard.PreviewKeyUp
attached event reaches an element in its route that is derived from this class.
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
Identifies the AreDefaultInputBindingsEnabled dependency property. This field is read-only.
public static readonly DependencyProperty AreDefaultInputBindingsEnabledProperty
AreOverlaysVisibleProperty
Identifies the AreOverlaysVisible dependency property. This field is read-only.
public static readonly DependencyProperty AreOverlaysVisibleProperty
AreZoomButtonsVisibleProperty
Identifies the AreZoomButtonsVisible dependency property. This field is read-only.
public static readonly DependencyProperty AreZoomButtonsVisibleProperty
CenterPointProperty
Identifies the CenterPoint dependency property. This field is read-only.
public static readonly DependencyProperty CenterPointProperty
CenterPointResolvedProperty
Identifies the read-only CenterPointResolved dependency property. This field is read-only.
public static readonly DependencyProperty CenterPointResolvedProperty
ChildSizeProperty
Identifies the read-only ChildSize dependency property. This field is read-only.
public static readonly DependencyProperty ChildSizeProperty
DefaultCenterPointProperty
Identifies the DefaultCenterPoint dependency property. This field is read-only.
public static readonly DependencyProperty DefaultCenterPointProperty
DefaultZoomLevelProperty
Identifies the DefaultZoomLevel dependency property. This field is read-only.
public static readonly DependencyProperty DefaultZoomLevelProperty
HasHorizontalItemsProperty
Identifies the read-only HasHorizontalItems dependency property. This field is read-only.
public static readonly DependencyProperty HasHorizontalItemsProperty
HorizontalScrollBarVisibilityProperty
Identifies the HorizontalScrollBarVisibility dependency property. This field is read-only.
public static readonly DependencyProperty HorizontalScrollBarVisibilityProperty
HorizontalScrollLineStepProperty
Identifies the HorizontalScrollLineStep dependency property. This field is read-only.
public static readonly DependencyProperty HorizontalScrollLineStepProperty
HorizontalScrollPageStepProperty
Identifies the HorizontalScrollPageStep dependency property. This field is read-only.
public static readonly DependencyProperty HorizontalScrollPageStepProperty
IsPanPadVisibleProperty
Identifies the IsPanPadVisible dependency property. This field is read-only.
public static readonly DependencyProperty IsPanPadVisibleProperty
IsResetViewButtonVisibleProperty
Identifies the IsResetViewButtonVisible dependency property. This field is read-only.
public static readonly DependencyProperty IsResetViewButtonVisibleProperty
IsViewControlPaneMinimizableProperty
Identifies the IsViewControlPaneMinimizable dependency property. This field is read-only.
public static readonly DependencyProperty IsViewControlPaneMinimizableProperty
IsViewControlPaneMinimizedProperty
Identifies the IsViewControlPaneMinimized dependency property. This field is read-only.
public static readonly DependencyProperty IsViewControlPaneMinimizedProperty
IsViewControlPaneVisibleProperty
Identifies the IsViewControlPaneVisible dependency property. This field is read-only.
public static readonly DependencyProperty IsViewControlPaneVisibleProperty
IsVirtualSpaceEnabledProperty
Identifies the IsVirtualSpaceEnabled dependency property. This field is read-only.
public static readonly DependencyProperty IsVirtualSpaceEnabledProperty
IsZoomLabelVisibleProperty
Identifies the IsZoomLabelVisible dependency property. This field is read-only.
public static readonly DependencyProperty IsZoomLabelVisibleProperty
IsZoomSliderVisibleProperty
Identifies the IsZoomSliderVisible dependency property. This field is read-only.
public static readonly DependencyProperty IsZoomSliderVisibleProperty
IsZoomToFitButtonVisibleProperty
Identifies the IsZoomToFitButtonVisible dependency property. This field is read-only.
public static readonly DependencyProperty IsZoomToFitButtonVisibleProperty
MaxZoomLevelProperty
Identifies the MaxZoomLevel dependency property. This field is read-only.
public static readonly DependencyProperty MaxZoomLevelProperty
MinZoomLevelProperty
Identifies the MinZoomLevel dependency property. This field is read-only.
public static readonly DependencyProperty MinZoomLevelProperty
PanAnimationDurationProperty
Identifies the PanAnimationDuration dependency property. This field is read-only.
public static readonly DependencyProperty PanAnimationDurationProperty
VerticalScrollBarVisibilityProperty
Identifies the VerticalScrollBarVisibility dependency property. This field is read-only.
public static readonly DependencyProperty VerticalScrollBarVisibilityProperty
VerticalScrollLineStepProperty
Identifies the VerticalScrollLineStep dependency property. This field is read-only.
public static readonly DependencyProperty VerticalScrollLineStepProperty
VerticalScrollPageStepProperty
Identifies the VerticalScrollPageStep dependency property. This field is read-only.
public static readonly DependencyProperty VerticalScrollPageStepProperty
ViewControlPaneOpacityAnimatedProperty
Identifies the ViewControlPaneOpacityAnimated dependency property. This field is read-only.
public static readonly DependencyProperty ViewControlPaneOpacityAnimatedProperty
ViewControlPaneOpacityHoverProperty
Identifies the ViewControlPaneOpacityHover dependency property. This field is read-only.
public static readonly DependencyProperty ViewControlPaneOpacityHoverProperty
ViewControlPaneOpacityNormalProperty
Identifies the ViewControlPaneOpacityNormal dependency property. This field is read-only.
public static readonly DependencyProperty ViewControlPaneOpacityNormalProperty
ViewportSizeProperty
Identifies the read-only ViewportSize dependency property. This field is read-only.
public static readonly DependencyProperty ViewportSizeProperty
ZoomAnimationDurationProperty
Identifies the ZoomAnimationDuration dependency property. This field is read-only.
public static readonly DependencyProperty ZoomAnimationDurationProperty
ZoomLevelChangedEvent
Identifies the ZoomLevelChanged routed event. This field is read-only.
public static readonly RoutedEvent ZoomLevelChangedEvent
ZoomLevelProperty
Identifies the ZoomLevel dependency property. This field is read-only.
public static readonly DependencyProperty ZoomLevelProperty
ZoomLevelStopsProperty
Identifies the ZoomLevelStops dependency property. This field is read-only.
public static readonly DependencyProperty ZoomLevelStopsProperty
ZoomStepProperty
Identifies the ZoomStep dependency property. This field is read-only.
public static readonly DependencyProperty ZoomStepProperty