Skip to content

ImageViewer's UI can not show all when image origin size bigger then parent control size #1373

@JeremyWu917

Description

@JeremyWu917

Describe the bug

ImageViewer's UI can not show all when image origin size bigger then parent control size.

It can't be minified any more after the size come to the image origin size.

Steps to reproduce the bug

  1. Create WPF application.
  2. Set ImageViewer's size (height 400 & width 400) and give a ImageSource (image origin size bigger then 400).
  3. Magnify the image in ImageViewer.
  4. Minified the image (the issues fired when the size come image origin size), and you will see it can not be minified any more.

Expected behavior

Can minified the image after the UI's size come to image origin size.

Screenshots

1

NuGet package version

HandyControl 3.4.0

IDE

Visual Studio 2022

Framework type

.Net 6.0

Windows version

Windows 11 (22000)

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions