Back to Devexpress

LightweightCellEditor Class

wpf-devexpress-dot-xpf-dot-grid-d66266c2.md

latest4.0 KB
Original Source

LightweightCellEditor Class

Displays the content of a data cell in the optimized mode.

Namespace : DevExpress.Xpf.Grid

Assembly : DevExpress.Xpf.Grid.v25.2.dll

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public class LightweightCellEditor :
    LightweightCellEditorBase,
    IGridCellEditorOwner,
    IChrome,
    ISupportSuspendEditorOpacitySync,
    ISupportLoadingAnimation,
    IOrderPanelElement,
    IConditionalFormattingClient<LightweightCellEditor>,
    IConditionalFormattingClientBase,
    ISupportHorizonalContentAlignment,
    IGetBaseEdit
vb
Public Class LightweightCellEditor
    Inherits LightweightCellEditorBase
    Implements IGridCellEditorOwner,
               IChrome,
               ISupportSuspendEditorOpacitySync,
               ISupportLoadingAnimation,
               IOrderPanelElement,
               IConditionalFormattingClient(Of LightweightCellEditor),
               IConditionalFormattingClientBase,
               ISupportHorizonalContentAlignment,
               IGetBaseEdit

Remarks

To learn more, see Optimized Mode and Optimized Mode Styles and Templates.

The following code snippets (auto-collected from DevExpress Examples) contain references to the LightweightCellEditor class.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-grid-highlight-specific-cells/CS/MainWindow.xaml#L29

xml
<dxg:TableView.CellStyle>
    <Style TargetType="dxg:LightweightCellEditor">
        <Style.Resources>

wpf-grid-customize-appearance-of-specific-cells/CS/DXGrid_ConditionalFormatting/Window1.xaml#L11

xml
<dxg:GridControl.Resources>
    <Style x:Key="customCellStyle" BasedOn="{StaticResource {dxgt:GridRowThemeKey ResourceKey=LightweightCellStyle}}" TargetType="{x:Type dxg:LightweightCellEditor}">
        <Setter Property="Background">

Inheritance

Show 13 items

Object DispatcherObject DependencyObject Visual UIElement FrameworkElement ContentPresenter DevExpress.Xpf.Core.DataContentPresenter DevExpress.Xpf.Editors.InplaceEditorBase DevExpress.Xpf.Grid.CellEditorBase DevExpress.Xpf.Grid.CellEditor LightweightCellEditorBase LightweightCellEditor

See Also

LightweightCellEditor Members

DevExpress.Xpf.Grid Namespace