[Expand]General Information
[Collapse]WinForms Controls
  .NET Core Support
 [Expand]What's Installed
 [Expand]Build an Application
 [Expand]Controls and Libraries
 [Collapse]Common Features
  [Expand]Data Binding Common Concepts
  [Expand]Data Source Wizard
    File and Folder Browser Behaviors
    Persistence Behavior
    Indicator Behaviors
    Stub Glyph Behavior
    Banner Behavior
    Breadcrumb Behavior
    Disabled Cell Behavior
    Drag-and-Drop Behavior
    Magnifier Behavior
    Pager Navigation Behavior
    Scrollbar Annotation Behavior
    Snap Window Behavior
  [Expand]Application Appearance and Skin Colors
  [Expand]Filtering UI Context
   Find Panel Syntax
  [Expand]Graphics Performance and High DPI
  [Expand]Scaffolding Wizard
  [Expand]Formatting Values
   HTML-inspired Text Formatting
  [Expand]Save and Restore Layouts
   Clipboard - Copy and Paste Operations. Data Formatting
   Version Compatibility: Default Property Values
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com

Magnifier Behavior

This behavior supplies the DevExpress color selector editors with an additional button that invokes the MagnifierDialog. It allows users to choose colors from anywhere on the screen. A selected color is assigned to the editor's EditValue property automatically.

Supported Controls

You can attach this behavior to all ColorEdit descendants. Holding down the Ctrl key lowers the Magnifier sensitivity, which allows users to hover over desired elements more accurately when zoomed in.

Behavior Options

  • CloseOnMouseClick - specifies whether the Magnifier automatically closes immediately after a user picks a color.
  • ColorFormat - specifies whether the Magnifier displays hovered and selected colors in RGB or HEX format. This affects the Magnifier's runtime appearance only- in code both colors are always stored as ARGB values.
  • InitialZoomFactor - the initial Magnifier zoom level.
  • PickColorToClipboard - if equals true,
  • ImageOptions - allows you to replace the default Magnifier button icon.
  • ShowPixelGrid - if enabled, the Magnifier shows a grid when zoomed.

Expanded See Also

Is this topic helpful?​​​​​​​