RepositoryItemButtonEdit Class
Represents a repository item which stores settings specific to a ButtonEdit control.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v19.2.dll
Declaration
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "ButtonEdit")]
public class RepositoryItemButtonEdit :
RepositoryItemTextEdit
Related API Members
The following members return RepositoryItemButtonEdit objects:
Remarks
The RepositoryItemButtonEdit class provides properties, methods and events appropriate to button edit controls (ButtonEdit class objects). The editor’s ButtonEdit.Properties property allows you to access these settings. The RepositoryItemButtonEdit class provides properties that allow you to access the button collection (RepositoryItemButtonEdit.Buttons), specify the button’s appearance (RepositoryItemButtonEdit.ButtonsStyle), define textbox visibility and availability (RepositoryItemButtonEdit.TextEditStyle). It also provides a RepositoryItemButtonEdit.ButtonClick and RepositoryItemButtonEdit.ButtonPressed event that can be handled to respond to click events.
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 snippet (auto-collected from DevExpress Examples) contains a reference to the RepositoryItemButtonEdit 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.