[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Expand]Charts Suite
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Collapse]Data Editors
    Included Components
   [Expand]Implementation Details
   [Expand]Getting Started
   [Expand]Editor Types
   [Collapse]Common Features
    [Expand]Obtaining Editor Values
    [Expand]Binding to Data
     In-Place Mode
    [Expand]Editor Operation Modes
    [Expand]Masked Input
    [Expand]Input Validation
     Incremental Search
     Filtering
   [Expand]Range Control
   [Expand]Visual Elements
   [Expand]End-User Capabilities
   [Expand]Examples
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

In-Place Mode

Expanded Overview

DevExpress WPF Data Editors can be used for in-place editing within the container controls such as GridControl or Bars. Each editor has a helper class (the BaseEditSettings descendant) responsible for the editor's functionality. The EditSettings classes provide the implementation of all editor properties that allow the in-place editor to be fully customized. A container control (e.g., GridControl) uses information provided by the EditSettings objects to create fully-functional editors when required.

This topic contains the following sections.

Expanded GridControl In-Place Editing

When used within the GridControl, the actual editors are only created when end-users start to edit a cell and are automatically destroyed when editing is completed.

The following image demonstrates various types of editors nested in the GridControl's cells and cards.

By default, the GridControl automatically creates editors for all columns, based on their value type. To manually assign the required editor to a column, use the column's ColumnBase.EditSettings property.

This example shows how to assign the combo box and spin editors to grid columns.

To learn more about in-place editors within the GridControl, see GridControl In-place Editors.

Expanded Bars In-Place Editing

To embed an editor into a bar, use the BarEditItem object. The required EditSettings object must be assigned to the BarEditItem.EditSettings property.

The following example demonstrates how to use the DateEditSettings and SpinEditSettings objects to embed editors into a bar.

Expanded PropertyGridControl In-Place Editing

To embed a specific editor into a property grid cell, assign a required EditSettings object to the PropertyDefinition.EditSettings property.

The following example demonstrates how to assign editors to property grid rows based on the property path and type.

To learn more, see Property Definitions.

Expanded A List of WPF Data Editors that Support the In-Place Mode

The following table lists the WPF data editors that support the in-place mode. Each table row contains a short description of the editor and a link to the corresponding EditSettings class.

Class Description
BarCodeEditSettings Contains settings specific to the BarCodeEdit editor.
ButtonEditSettings Contains settings specific to the ButtonEdit editor.
CalcEditSettings Contains settings specific to the PopupCalcEdit editor.
CheckEditSettings Contains settings specific to the CheckEdit editor.
ColorEditSettings Contains settings specific to the ColorEdit editor.
ComboBoxEditSettings Contains settings specific to the ComboBoxEdit editor.
DateEditSettings Contains settings specific to the DateEdit editor.
FontEditSettings Contains settings specific to the FontEdit editor.
HyperlinkEditSettings Contains settings specific to the HyperlinkEdit editor.
ImageEditSettings Contains settings specific to the ImageEdit editor.
ListBoxEditSettings Contains settings specific to the ListBoxEdit editor.
MemoEditSettings Contains settings specific to the MemoEdit editor.
PasswordBoxEditSettings Contains settings specific to the PasswordBoxEdit editor.
PopupColorEditSettings Contains settings specific to the PopupColorEdit editor.
PopupImageEditSettings Contains settings specific to the PopupImageEdit editor.
ProgressBarEditSettings Contains settings specific to the ProgressBarEdit editor.
RatingEditSettings Contains settings specific to the RatingEdit editor.
SparklineEditSettings Contains settings specific to the SparklineEdit editor.
SpinEditSettings Contains settings specific to the SpinEdit editor.
TextEditSettings Contains settings specific to the TextEdit editor.
ToggleSwitchEditSettings Contains settings specific to the ToggleSwitchEdit editor.
TrackBarEditSettings Contains settings specific to the TrackBarEdit editor.

Expanded See Also

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