Represents a repository item which contains settings specific to TextEdit editors.
[ToolboxBitmap(typeof(ToolboxIconsRootNS), "TextEdit")] public class RepositoryItemTextEdit : RepositoryItem
<ToolboxBitmap(GetType(ToolboxIconsRootNS), "TextEdit")> Public Class RepositoryItemTextEdit Inherits RepositoryItem
Related API Members
The following members accept/return RepositoryItemTextEdit objects:
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).