Skip to main content

PopupImageEditSettings Class

Contains settings specific to the PopupImageEdit editor.

Namespace: DevExpress.Xpf.Editors.Settings

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

NuGet Package: DevExpress.Wpf.Core


public class PopupImageEditSettings :


DevExpress container controls (GridControl, TreeListControl, and so on) use DevExpress WPF Editors to edit data they display. Each editor has a helper class (a BaseEditSettings descendant) that is responsible for the editor’s functionality. When the same editor is used in multiple locations, a container control uses this helper class to paint its cells. The actual editors are only created when users start to edit, and are automatically deleted when editing is completed.

Refer to the following help topic for more information: Assign Editors to Cells.

For detailed information on the PopupImageEdit editor, refer to the following help topic: PopupImageEdit.

The following code sample demonstrates how to assign the PopupImageEdit editor to GridControl cells:

PopupImageEditSettings - Example

<Window ...

<dxg:GridControl x:Name="grid">
    <!-- ... -->
    <dxg:GridColumn FieldName="Image">
            <dxe:PopupImageEditSettings PopupMaxWidth="400" PopupMaxHeight="250" 
                                        ShowMenu="True" ShowMenuMode="Always"/>
public class TestData {
    // ...
    public ImageSource Image { get; set; }
public partial class MainWindow : Window {
    public MainWindow() {
        grid.ItemsSource = new ObservableCollection<TestData>(GetData());
    static IEnumerable<TestData> GetData() {
        yield return new TestData() { /* ... */ Image = GetImage("/Images/1.jpg") };
    static ImageSource GetImage(string path) {
        return new BitmapImage(new Uri(path, UriKind.Relative));

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the PopupImageEditSettings class.


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.

See Also