Skip to main content
All docs
V25.1
  • 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.v25.1.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