PictureEdit() Constructor

Initializes a new PictureEdit class instance with default settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

public PictureEdit()
Public Sub New

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