RepositoryItemPictureEdit Class
Represents a repository item which stores settings specific to a PictureEdit control.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "PictureEdit")]
public class RepositoryItemPictureEdit :
RepositoryItem,
IContextItemCollectionOptionsOwner,
IContextItemCollectionOwner
Related API Members
The following members accept/return RepositoryItemPictureEdit objects:
Remarks
The RepositoryItemPictureEdit class provides properties and events appropriate to picture edit controls (PictureEdit class objects). Use the editor’s PictureEdit.Properties property to access these settings. Information contained within a RepositoryItemPictureEdit class is enough to create a fully functional PictureEdit editor.
The RepositoryItemPictureEdit class introduces properties controlling how the loaded image is stretched (RepositoryItemPictureEdit.SizeMode), image alignment within the editor (RepositoryItemPictureEdit.PictureAlignment), the availability of the image editing context menu (RepositoryItemPictureEdit.ShowMenu).
You do not need to create repository items manually unless you have to create inplace editors for container controls (such as the XtraGrid).
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the RepositoryItemPictureEdit class.
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.