Wimark.Controls Class Library  

TextEditor Members

TextEditor overview

Public Constructors

public constructorTextEditor Constructor Creates a new instance of the TextEditor class.

Public Properties

public propertyAnimate (inherited from Editor) Gets or sets a value indicating whether the drop down window should animate when it is opened.
public propertyBounds (inherited from Editor) Gets the bounds of the editor.
public propertyCanUndo Gets a value indicating whether the user can undo the previous operation in a text editor.
public propertyCharacterCasing Gets or sets whether the text editor modifies the case of characters as they are typed.
public propertyClonedFrom (inherited from Editor) Gets or sets the editor this editor is cloned from.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDroppedDown (inherited from Editor) Gets or sets a value indicating whether the editor is displaying its drop-down portion.
public propertyEnabled (inherited from Editor) Gets or sets a value indicating whether the editor is enabled.
public propertyFont Gets or sets the font used to display the text in the text editor.
public propertyIsActivated (inherited from Editor) Gets a value indicating whether the editor is activated.
public propertyIsDialogOpened (inherited from Editor) Gets a value indicating whether the editor is displaying the modal dialog.
public propertyLargeButtonLayout (inherited from Editor) Gets or sets a value indicating whether the editor should display large buttons.
public propertyMaxLength Gets or sets the maximum number of characters the user can type into the text editor.
public propertyMenuCommands Gets the collection of CommandItem objects used to create the context menu.
public propertyModified Gets or sets a value that indicates that the text editor has been modified by the user since the editor was created or its contents were last set.
public propertyPasswordChar Gets or sets the character used to mask characters of a password in a text editor.
public propertyPreferredSize Gets or sets the preferred size of the text editor.
public propertyReadOnly Gets or sets a value indicating whether text in the text editor is read-only.
public propertyRenderer (inherited from Editor) The renderer that paints this control.
public propertyRightToLeft (inherited from Editor) Gets or sets whether the content displayed by the editor is displayed from right to left.
public propertySelectedText Gets or sets a value indicating the currently selected text in the text editor.
public propertySelectionLength Gets or sets the number of characters selected in the text editor.
public propertySelectionStart Gets or sets the starting point of text selected in the text editor.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertyText Gets or sets the current text in the text editor.
public propertyTextAlign Gets or sets how text is aligned in a text editor.
public propertyTextBox Gets the text box.
public propertyTextBoxRenderer The renderer that paints the text box.
public propertyTextLength Gets the length of text in the text editor.
public propertyValue (inherited from Editor) Gets or sets the value to edit.

Public Methods

public methodActivate (inherited from Editor) Activates the editor and starts to edit the value.
public methodAppendText Appends text to the current text of a text editor.
public methodClear Clears all text from the text editor.
public methodClearUndo Clears information about the most recent operation from the undo buffer of the text editor.
public methodClone (inherited from Editor) Creates a new editor and copies the state from this editor.
public methodCopy Copies the current selection in the text editor to the Clipboard.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodCut Moves the current selection in the text editor to the Clipboard.
public methodDisplayModalDialog (inherited from Editor) Displays the modal dialog used to edit the value.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEquals (inherited from Object) Overloaded. Determines whether two Object instances are equal.
public methodGetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodOnValueModified (inherited from Editor) Raises the ValueModified event.
public methodPaste Replaces the current selection in the text editor with the contents of the Clipboard.
public methodSelect Selects a range of text in the text editor.
public methodSelectAll Selects all text in the text editor.
public methodToString (inherited from Component) Overridden. See Object.ToString.
public methodUndo Undoes the last edit operation in the text editor.

Public Events

public eventActivated (inherited from Editor) Occurs when the editor is activated and starts to edit a value.
public eventBeforeDeactivate (inherited from Editor) Occurs before the editor loses focus and ends editing a value.
public eventDeactivated (inherited from Editor) Occurs when the editor loses focus and ends editing a value.
public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.
public eventDropDown (inherited from Editor) Occurs before the drop-down portion of an editor is shown.
public eventIsInputKey (inherited from Editor) Occurs when the editor determines whether the specified key is a special key that requires preprocessing.
public eventKeyDown (inherited from Editor) Occurs when a key that requires preprocessing is pressed while the editor is active.
public eventOpenDialog (inherited from Editor) Occurs before the modal dialog of an editor is open.
public eventValueChanged (inherited from Editor) Occurs when the Value property has changed.
public eventValueModified (inherited from Editor) Occurs when the editor value is changed by the user.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.
protected propertyHorizontalDropDownScrollBar (inherited from Editor) Gets or sets a value indicating whether the horizontal scrollbar of the drop down window should be visible when it's needed.
protected propertyMaxDropDownRows (inherited from Editor) Gets or sets the maximum number of rows to be shown in the drop-down portion of the editor.
protected propertyPreferredDropDownSize (inherited from Editor) Gets or sets the preferred size of the of the drop-down portion of an editor.
protected propertyVerticalDropDownScrollBar (inherited from Editor) Gets or sets a value indicating whether the vertical scrollbar of the drop down window should be visible when it's needed.

Protected Methods

protected methodCreateDropDownArea (inherited from Editor) Virtual method that should create the area control used in the drop down window to edit values.
protected methodCreateEditorControl (inherited from Editor) Virtual method that should create the control used to edit values.
protected methodCreateEditorForm (inherited from Editor) Virtual method that should create the form used as a modal dialog to edit values.
protected methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
protected methodFinalize (inherited from Component) Overridden. See Object.Finalize.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetCanEdit (inherited from Editor) Virtual method that should return a value that indicates whether the editor can edit the value.
protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodGetSupportsDialog (inherited from Editor) Virtual method that should return a value that indicates whether the editor supports editing by a modal dialog.
protected methodGetSupportsDropDown (inherited from Editor) Virtual method that should return a value that indicates whether the editor supports editing by a drop down window.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
protected methodOnActivated (inherited from Editor) Raises the Activated event.
protected methodOnBeforeDeactivate (inherited from Editor) Raises the BeforeDeactivate event.
protected methodOnDeactivated (inherited from Editor) Raises the Deactivated event.
protected methodOnDropDown (inherited from Editor) Raises the DropDown event.
protected methodOnIsInputKey (inherited from Editor) Raises the IsInputKey event.
protected methodOnKeyDown (inherited from Editor) Raises the KeyDown event.
protected methodOnOpenDialog (inherited from Editor) Raises the OpenDialog event.
protected methodOnValueChanged (inherited from Editor) Raises the ValueChanged event.
protected methodPerformInvalidate (inherited from Editor) Overloaded. Raises the Invalidate event.
protected methodPerformLayout (inherited from Editor) Updates the layout of the editor.

See Also

TextEditor Class | Wimark.Controls.Editors Namespace