Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

MagnifierDialog.ShowDialog(IWin32Window, Single, Boolean, Boolean) Method

Displays the MagnifierDialog with specific parameters.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public static MagnifierDialogResult ShowDialog(
    IWin32Window owner,
    float initialZoomFactor,
    bool closeOnMouseClick,
    bool pickColorToClipboard
)

#Parameters

Name Type Description
owner IWin32Window

An MagnifierDialogResult interface descendant that owns this MagnifierDialog.

initialZoomFactor Single

An Int32 value that specifies the MagnifierDialog‘s initial zoom level.

closeOnMouseClick Boolean

true if the MagnifierDialog should automatically close when a user presses the left mouse button; otherwise, false.

pickColorToClipboard Boolean

true to copy a clicked color to the clipboard; otherwise, false.

#Returns

Type Description
MagnifierDialogResult

A MagnifierDialogResult object that stores selected colors and zoom level.

See Also