Xceed Toolkit Plus for WPF v5.0 Documentation
Xceed.Wpf.Toolkit Assembly / Xceed.Wpf.Toolkit.Zoombox Namespace / Zoombox Class / Refocus Field


In This Topic
    Refocus Field
    In This Topic
    Refocuses the view currently selected within the view stack (the view identified by the ViewStackIndex property).
    Syntax
    'Declaration
     
    Public Shared Refocus As RoutedUICommand
    'Usage
     
    Dim value As RoutedUICommand
     
    value = Zoombox.Refocus
     
    Zoombox.Refocus = value
    public static RoutedUICommand Refocus
    Remarks
    Note that this command is really only helpful when the EffectiveViewStackMode is Manual. With a manual stack, the user may zoom or pan away from the view currently selected within the view stack. The Refocus command can be used to return to the selected view. This functionality is also accessible via the RefocusView(Object,ExecutedRoutedEventArgs) method.
    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