Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Zoombox Namespace / Zoombox Class / ZoomPercentage Property


In This Topic
    ZoomPercentage Property
    In This Topic
    Gets or sets how much the content will zoom when using the ZoomIn or ZoomOut commands or when zooming via the mouse wheel.
    Syntax
    'Declaration
     
    Public Property ZoomPercentage As Double
    'Usage
     
    Dim instance As Zoombox
    Dim value As Double
     
    instance.ZoomPercentage = value
     
    value = instance.ZoomPercentage
    public double ZoomPercentage {get; set;}

    Property Value

    The zoom commands are hooked up to key strokes using an InputBindingCollection within the Resources section of the Zoombox template. The default key bindings map Ctrl+Left and Ctrl+Up to the ZoomOut command and Ctrl+Right and Ctrl+Down to the ZoomIn command. Keyboard focus must be within the Zoombox to scale the content via the key bindings. The default value is 5%.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also