Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ComboBox ListItem Magnifier Issue in WPF .NET Framework #1786

Open
imtarangp opened this issue Oct 24, 2024 · 0 comments
Open

ComboBox ListItem Magnifier Issue in WPF .NET Framework #1786

imtarangp opened this issue Oct 24, 2024 · 0 comments

Comments

@imtarangp
Copy link

We are experiencing an issue with the Magnifier functionality provided by the Xceed.Wpf.Toolkit library in a WPF project. The problem occurs when a ComboBox is used, and its data is loaded dynamically. Specifically, when the magnifier interacts with the ComboBox’s list items, the content does not display or magnify correctly as expected.

xmlns:wpfx="http://schemas.xceed.com/wpf/xaml/toolkit"

<!-- Viewbox with Magnifier -->
<wpfx:MagnifierManager.Magnifier>
    <wpfx:Magnifier BorderBrush="Red"
                    BorderThickness="1"
                    FrameType="Rectangle"
                    ZoomFactor=".4"
                    Padding="490, 362, 300, 300"
                    Width="300"
                    Height="300"
                    Visibility="{DynamicResource MagnifierVisibility}" />
</wpfx:MagnifierManager.Magnifier>

<!-- ComboBox with Dynamic Data -->
<ComboBox x:Name="paperSizeDropdown_All"
          Width="{DynamicResource Combobox_Width}"
          Height="{DynamicResource Combobox_Height}"
          SelectionChanged="paperSizeDropdown_All_SelectionChanged" />

Issue:

When the magnifier is applied over the dynamically loaded ComboBox list items, it seems to either:

Not magnify the ComboBox list content as expected.
The interaction between the magnifier and the ComboBox is inconsistent (e.g., the content not properly zoomed).

Screenshot 2024-10-24 163258

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant