RepositoryItemSpinEdit Class
Represents a repository item which stores settings specific to a SpinEdit control.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "SpinEdit")]
public class RepositoryItemSpinEdit :
RepositoryItemBaseSpinEdit
Related API Members
The following members accept/return RepositoryItemSpinEdit objects:
Remarks
The RepositoryItemSpinEdit class provides properties and events appropriate to spin edit controls (SpinEdit class objects). These settings can be accessed via the editor’s SpinEdit.Properties property. Information contained within a RepositoryItemSpinEdit object is enough to create a fully functional SpinEdit editor.
The RepositoryItemSpinEdit inherits settings common to all spin editors from the RepositoryItemBaseSpinEdit class. The newly introduced settings include:
- maximum and minimum allowed values (the RepositoryItemSpinEdit.MaxValue and RepositoryItemSpinEdit.MinValue properties);
- the step by which the edit value changes when clicking spin buttons (the RepositoryItemSpinEdit.Increment and RepositoryItemSpinEdit.IsFloatValue properties).
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 RepositoryItemSpinEdit 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.