Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Expand]Controls and Libraries
 [Collapse]Common Features
  [Expand]Data Binding Common Concepts
  [Expand]Data Source Wizard
  [Expand]Expressions
  [Collapse]Behaviors
    File and Folder Browser Behaviors
    Persistence Behavior
    Indicator Behaviors
    Stub Glyph Behavior
    Banner Behavior
    Drag And Drop Behavior
    Magnifier Behavior
    Snap Window Behavior
  [Expand]Application Appearance
  [Expand]Filtering UI Context
  [Expand]High DPI Support
  [Expand]Scaffolding Wizard
  [Expand]Formatting Values
   HTML Text Formatting
  [Expand]Menus
  [Expand]Tooltip Management
  [Expand]Saving and Restoring 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]Document Server
[Expand]Reporting
[Expand]Report Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

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.

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.

Expanded See Also

How would you rate this topic?​​​​​​​