Skip to main content
A newer version of this page is available. .

PictureEdit() Constructor

Initializes a new PictureEdit class instance with default settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

public PictureEdit()

Remarks

Use this constructor to create a new instance of the PictureEdit control at runtime. The constructor initializes the picture editor with default settings.

You can use methods and properties of the newly created picture editor to modifty it as your application needs dictate: you can specify an image to be displayed in the editor, control the image size and positioning in the display area, set the editor’s look and feel, etc. The editor should be added to a parent container’s Controls collection in order to be displayed on the form.

To create a picture editor for in-place editing (for use in the Grid Control or other DevExpress container controls) you should create a corresponding repository item (RepositoryItemPictureEdit) and assign it to a column.

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

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.

See Also