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

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

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

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.

See Also