RepositoryItemTextEdit Class
Represents a repository item which contains settings specific to TextEdit editors.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v18.1.dll
Declaration
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "TextEdit")]
public class RepositoryItemTextEdit :
RepositoryItem
Related API Members
The following members accept/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).
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the RepositoryItemTextEdit 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.