MagnifierDialog.ShowDialog(IWin32Window, Single, Boolean) Method
Initializes a new instance of the MagnifierDialog class with the specified settings.
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
)
#Parameters
Name | Type | Description |
---|---|---|
owner | IWin32Window | An IWin32Window object that owns this Magnifier. |
initial |
Single | A Single value that is the initial Magnifier zoom level. Users can zoom in and out using a mouse scroll wheel. |
close |
Boolean | true if the Magnifier should automatically close immediately after a user clicks the left mouse button to select a color; false if the Magnifier closes only when user presses “Esc” or clicks the right mouse button. |
#Returns
Type | Description |
---|---|
Magnifier |
A Magnifier |