ASP.NET Pack Programmer's Guide
EditComponent Members
Constructors Properties Methods Events
 


A text box-like component.

The following tables list the members exposed by the EditComponent type.

 Public Constructors

  Name Description

EditComponent

Initializes a new instance of the EditComponent class.

 Public Properties

  Name Description

AcceptsReturn

Gets or sets a value indicating whether the edit component will insert new line when the user presses the ENTER key.

Bounds

Gets or sets the calculated bounds of this component relative to its parent. (Inherited from ComponentBase.)

Brush

Gets or sets the background brush of the edit component.

ChildCount

Gets the number of child components of this component. (Inherited from ComponentBase.)

Focusable

Gets or sets a value indicating whether the component can receive the input focus. (Inherited from ComponentBase.)

Font

Gets or sets the font of the text.

GridColumn

Gets or sets the index of the grid column this component will be associated with when added to a GridPanel. (Inherited from ComponentBase.)

GridRow

Gets or sets the index of the grid row this component will be associated with when added to a GridPanel. (Inherited from ComponentBase.)

Height

Gets or sets the explicit height of this component or float.NaN to auto-size the component. (Inherited from ComponentBase.)

HideSelection

Gets or sets a value indicating whether to hide the selection when the edit component does not have input focus.

HorizontalAlignment

Gets or sets the horizontal alignment of this component relative to its parent. (Inherited from ComponentBase.)

InactiveSelectionColor

Gets or sets the color of the selection when the component does not have input focus.

IsEnabled

Gets or sets a value indicating whether the component is enabled. (Inherited from ComponentBase.)

IsFocused

Gets or sets a value indicating whether this component currently holds the input focus. (Inherited from ComponentBase.)

IsHitTestVisible

Gets or sets a value indicating whether this component and all its children are subject to hit-testing operations. (Inherited from ComponentBase.)

IsInteractive

Gets or sets a value indicating whether this component can be interacted with. (Inherited from ComponentBase.)

Name

Gets or sets the name of the component. (Inherited from ComponentBase.)

Parent

Gets the parent component, if the current component is hosted. (Inherited from ComponentBase.)

Pen

Gets or sets the border pen of the edit component.

ScrollFirstLine

Gets or sets the index of the first visible line in the edit component.

SelectionColor

Gets or sets the color of the selection.

SelectionLength

Gets or sets the length of the selection in the edit component.

SelectionStart

Gets or sets the start of the selection in the edit component.

Text

Gets or sets the text of the edit component.

TextColor

Gets or sets the color of the text.

TextPadding

Gets or sets the padding of the edit component.

TextWrapping

Gets or sets the wrapping of the text in the edit component.

VerticalAlignment

Gets or sets the vertical alignment of this component relative to its parent. (Inherited from ComponentBase.)

Visible

Gets or sets a value indicating whether the component is visible. (Inherited from ComponentBase.)

Width

Gets or sets the explicit width of this component or float.NaN to auto-size the component. (Inherited from ComponentBase.)

 Protected Properties

  Name Description

ParentHost

Gets the host containing this component, if any. (Inherited from ComponentBase.)

 Public Methods

  Name Description

ArrangeComponents

Recursively arranges the child components, within the specified space and using the specified graphics for measurement purposes. (Inherited from ComponentBase.)

Contains

Checks if the specified component is contained in the hierarchy defined by the current component. (Inherited from ComponentBase.)

Draw

ComponentBase.Draw override.

Find

Returns the component with the specified name within the hierarchy defined by the current component. (Inherited from ComponentBase.)

GetCursor

ComponentBase.GetCursor override.

GetDesiredSize

ComponentBase.GetDesiredSize override.

Invalidate

Invalidates the visual appearance of the component. (Inherited from ComponentBase.)

InvalidateLayout

Invalidates the layout of this component and all its children. (Inherited from ComponentBase.)

OnKeyPress

ComponentBase.OnKeyPress override.

OnMouseDown

ComponentBase.OnMouseDown override.

OnMouseMove

ComponentBase.OnMouseMove override.

OnMouseUp

ComponentBase.OnMouseUp override.

ToDocument

Converts a point from local to document coordinates. (Inherited from ComponentBase.)

ToLocal

Converts a point from document to local coordinates. (Inherited from ComponentBase.)

ToParent

Converts a point from local coordinates to the specified parent's coordinates. (Inherited from ComponentBase.)

 Protected Methods

  Name Description

LoadFrom

ComponentBase.LoadFrom override.

LoadFromJson

ComponentBase.LoadFromJson override.

LoadFromXml

ComponentBase.LoadFromXml override.

OnAddedToParent

ComponentBase.OnAddedToParent override.

OnClicked

Raises the Clicked event.

OnGotFocus

ComponentBase.OnGotFocus override.

OnGotFocus

Raises the GotFocus event. (Inherited from ComponentBase.)

OnKeyDown

Overloaded.  

OnKeyPressed

Raises the KeyPressed event.

OnKeyUp

Overloaded.  

OnLostFocus

Raises the LostFocus event. (Inherited from ComponentBase.)

OnLostFocus

ComponentBase.OnLostFocus override.

OnMouseMove

Raises the MouseMove event. (Inherited from ComponentBase.)

OnRemovedFromParent

Invoked when the component is removed from a parent component. (Inherited from ComponentBase.)

OnTextChanged

Raises the TextChanged event.

OnTextChanging

Raises the TextChanged event.

OnUnitChanged

ComponentBase.OnUnitChanged override.

OnValidated

Raises the Validated event. (Inherited from ComponentBase.)

OnValidating

Raises the Validating event. (Inherited from ComponentBase.)

OnZoomChanged

ComponentBase.OnZoomChanged override.

SaveTo

ComponentBase.SaveTo override.

SaveToJson

ComponentBase.SaveToJson override.

SaveToXml

ComponentBase.SaveToXml override.

SerializeSubcomponents

Invoked to query whether the underlying component structure should be automatically serialized or serialized by the user. (Inherited from ComponentBase.)

 Public Events

  Name Description

Clicked

Raised when the edit component is clicked.

GotFocus

Raised when the component receives the input focus. (Inherited from ComponentBase.)

KeyDown

Raised when a key is pressed while the component has input focus.

KeyPressed

Raised when a key is pressed while the component has input focus.

KeyUp

Raised when a key is released while the component has input focus.

LostFocus

Raised when the component loses the input focus. (Inherited from ComponentBase.)

MouseMove

Raised when the mouse moves over the component. (Inherited from ComponentBase.)

TextChanged

Raised when the text is changed.

TextChanging

Raised when the text is about to be changed.

Validated

Raised after the component has lost input focus. (Inherited from ComponentBase.)

Validating

Raised when the component is about to lose input focus in order to validate it. (Inherited from ComponentBase.)

 See Also

EditComponent Class
MindFusion.Diagramming.Components Namespace