Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

PictureEdit() Constructor

In This Article

Initializes a new PictureEdit class instance with default settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#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.

See Also