VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
Vintasoft.Imaging.Wpf.UI Namespace / WpfImageViewer Class / KeyboardNavigationScrollStep Property
Syntax Exceptions Requirements SeeAlso
In This Topic
    KeyboardNavigationScrollStep Property (WpfImageViewer)
    In This Topic
    Gets or sets the step value, in pixels, which should be used for scrolling in image viewer when user is performing keyboard navigation (Left, Right, Up, Down keys).
    Syntax
    'Declaration
    
    <CategoryAttribute("VintaSoft")>
    <DescriptionAttribute("The step value, in pixels, which should be used for scrolling in image viewer when user is performing keyboard navigation (Left, Right, Up, Down keys).")>
    <DefaultValueAttribute(20)>
    Public Property KeyboardNavigationScrollStep As System.Int32
    
    
    [Category("VintaSoft")]
    [Description("The step value, in pixels, which should be used for scrolling in image viewer when user is performing keyboard navigation (Left, Right, Up, Down keys).")]
    [DefaultValue(20)]
    public System.Int32 KeyboardNavigationScrollStep { get; set; }
    
    
    [Category("VintaSoft")]
    [Description("The step value, in pixels, which should be used for scrolling in image viewer when user is performing keyboard navigation (Left, Right, Up, Down keys).")]
    [DefaultValue(20)]
    public: __property System.Int32 get_KeyboardNavigationScrollStep();
    public: __property void set_KeyboardNavigationScrollStep(
    System.Int32 value
    );
    [Category("VintaSoft")]
    [Description("The step value, in pixels, which should be used for scrolling in image viewer when user is performing keyboard navigation (Left, Right, Up, Down keys).")]
    [DefaultValue(20)]
    public:
    property System.Int32 KeyboardNavigationScrollStep { System.Int32 get(); void set(System.Int32 value); }

    Property Value

    0 - image viewer will NOT scroll when user is performing navigation using keyboard;
    N - image viewer will be scrolled by N pixels when user is performing navigation using keyboard.
    Default value is 20.
    Exceptions
    ExceptionDescription
    Thrown if value is less than 0.
    Requirements

    Target Platforms: .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also