Log In
Home
Support
Demos
Documentation
Blogs
Training
Webinars
[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Collapse]Vertical Grid
   [Expand]Overview
   [Expand]Fundamentals
   [Expand]Concepts
   [Expand]Visual Elements
   [Collapse]Design-Time Features
     Rows Page
     In-place Editor Repository Page
     Layout Designer Page
     Default Editors Page
     Appearance Page
     Style Schemes Page
   [Expand]Examples
   [Expand]End-User Capabilities
   [Expand]Member Tables
  [Expand]Pivot Grid
  [Expand]Tree List
  [Expand]Chart Control
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET 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]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Default Editors Page

The Default Editors page is only available for the PropertyGridControl component. It allows you to specify the editors that will be used by default to edit values of specific data types.

You can associate a specific data type with a specific editor. In this instance, all the cells that are bound to the fields of this type will be edited using the associated editor. In the image above, the System.Boolean type is associated with a CheckEdit control (a RepositoryItemCheckEdit object). As a result all Boolean fields in the Property Grid Control will be represented by check boxes (either checked or unchecked).

To associate editors with data types in code use the PropertyGridControl.DefaultEditors collection.

Note that it is still possible to assign editors to cells explicitly using a row's RowProperties.RowEdit property. The editor assigned that way will override the default editor used to edit the current row.

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