RepositoryItemTextEdit Class
Represents a repository item which contains settings specific to TextEdit editors.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Related API Members
The following members return RepositoryItemTextEdit objects:
Remarks
The RepositoryItemTextEdit class provides properties and events used by all editors that allow text editing. Thus, many editor repository items are derived from the RepositoryItemTextEdit class. This class is actually used to provide settings to TextEdit editors and these settings can be accessed via the editor’s TextEdit.Properties property.
The main settings provided by the RepositoryItemTextEdit class include:
- maximum allowed text length (the RepositoryItemTextEdit.MaxLength property);
- character casing applied to the edited text (the RepositoryItemTextEdit.CharacterCasing property);
- password character displayed instead of actual characters (the RepositoryItemTextEdit.PasswordChar property);
- mask settings applied to the editor (the RepositoryItemTextEdit.Mask property).
Note that most text editing operations such as applying text selections, working with the Clipboard, etc are implemented by the editor class itself.
You should create repository items as standalone objects only to provide inplace editors for container controls (such as the XtraGrid).