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.1.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. |
initialZoomFactor | Single | A Single value that is the initial Magnifier zoom level. Users can zoom in and out using a mouse scroll wheel. |
closeOnMouseClick | 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 |
---|---|
MagnifierDialogResult | A MagnifierDialogResult object that stores the last remembered Magnifier zoom level and colors selected by a user. |