Share via


EditableText Class

Represents a user-editable string.

  public class EditableText : ModelItem

Public Instance Constructors

Constructor Description
EditableText() Initializes a new instance of the EditableText class.
EditableText(IModelItemOwner) Initializes a new instance of the EditableText class.
EditableText(IModelItemOwner, string) Initializes a new instance of the EditableText class.

Public Instance Methods

Method Description
AllowCharacter Applies a character filter.
Submit Notifies derived classes when the EditableText object should raise its Submitted event.

Protected Instance Methods

Method Description
OnActivity Notifies derived classes when there is input activity.
OnSubmitted Notifies derived classes when an edit is submitted.

Public Instance Properties

Property Description
Overtype Gets or sets a value that indicates whether overtype is enabled.
Value Gets or sets the current text value.

Public Instance Events

Event Description
Activity Raised when the user presses a key.
Submitted Raised when an edit is submitted.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also