Back to Devexpress

BaseEdit.EditMode Property

wpf-devexpress-dot-xpf-dot-editors-dot-baseedit-7688056a.md

latest3.7 KB
Original Source

BaseEdit.EditMode Property

For internal use only.

Namespace : DevExpress.Xpf.Editors

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
[Browsable(false)]
public EditMode EditMode { get; set; }
vb
<Browsable(False)>
Public Property EditMode As EditMode

Property Value

Type
EditMode

Available values:

NameDescription
Standalone

For internal use only.

| | InplaceInactive |

For internal use only.

| | InplaceActive |

For internal use only.

|

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

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.

reporting-wpf-print-listview-data/CS/Window1.xaml#L15

xml
<Setter Property="IsPrintingMode" Value="true" />
<Setter Property="EditMode" Value="InplaceInactive" />
<Setter Property="HorizontalContentAlignment" Value="Center"></Setter>

wpf-pivot-grid-create-field-value-template/CS/HowToCreateFieldValueTemplate/CategoriesControl.xaml#L13

xml
Source="{Binding ImageSource, RelativeSource={RelativeSource TemplatedParent}}"/>
    <dxe:TextEdit Name="text" VerticalAlignment="Center" EditMode="InplaceInactive"
                  Text="{Binding Path=DisplayText, Mode=OneWay}"

wpf-pivot-grid-define-custom-cell-template-to-performing-data-editing/CS/HowToEditCell/MainWindow.xaml#L34

xml
DisplayFormatString="c2"
EditMode="InplaceInactive"
EditValue="{Binding Value, Mode=OneWay}"

wpf-pivot-grid-define-custom-cell-template-to-performing-data-editing/CS/HowToEditCell/PivotGridEditHelper.cs#L58

csharp
if(edit != null) {
    edit.EditMode = EditMode.InplaceInactive;
}

wpf-pivot-grid-define-custom-cell-template-to-performing-data-editing/VB/HowToEditCell/PivotGridEditHelper.vb#L61

vb
If edit IsNot Nothing Then
    edit.EditMode = EditMode.InplaceInactive
End If

See Also

BaseEdit Class

BaseEdit Members

DevExpress.Xpf.Editors Namespace