Skip to main content
All docs
V24.2

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

MagnifierDialogArgs.ShowColors Property

Gets or sets whether the magnifier should display the currenly hovered and last clicked colors in its upper right corner. Colors are displayed as RGB or Hex values depending on the ColorFormat property value.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

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

#Declaration

public bool ShowColors { get; set; }

#Property Value

Type Description
Boolean

true to display color codes in the upper right corner of the magnifier, false if color codes should be hidden.

#Remarks

The code below illustrates how to hide the colors from the magnifier dialog’s top right corner.

MagnifierDialogArgs args = new MagnifierDialogArgs() {
    ShowColors = false,
    //other optional parameters
};
MagnifierDialogResult result = MagnifierDialog.ShowDialog(this, args);
See Also