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


Represents a numeric-only edit component.

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

 Public Constructors

  Name Description

NumericEditComponent

Initializes a new instance of the NumericEditComponent 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. (Inherited from EditComponent.)

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. (Inherited from EditComponent.)

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. (Inherited from EditComponent.)

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. (Inherited from EditComponent.)

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. (Inherited from EditComponent.)

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. (Inherited from EditComponent.)

ScrollFirstLine

Gets or sets the index of the first visible line in the edit component. (Inherited from EditComponent.)

SelectionColor

Gets or sets the color of the selection. (Inherited from EditComponent.)

SelectionLength

Gets or sets the length of the selection in the edit component. (Inherited from EditComponent.)

SelectionStart

Gets or sets the start of the selection in the edit component. (Inherited from EditComponent.)

Text

Gets or sets the text of the edit component. (Inherited from EditComponent.)

TextColor

Gets or sets the color of the text. (Inherited from EditComponent.)

TextPadding

Gets or sets the padding of the edit component. (Inherited from EditComponent.)

TextWrapping

Gets or sets the wrapping of the text in the edit component. (Inherited from EditComponent.)

Value

Gets or sets the value displayed in the edit box.

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. (Inherited from EditComponent.)

Find

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

GetCursor

ComponentBase.GetCursor override. (Inherited from EditComponent.)

GetDesiredSize

ComponentBase.GetDesiredSize override. (Inherited from EditComponent.)

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.)

OnKeyDown

EditComponent.OnKeyDown override.

OnKeyPress

EditComponent.OnKeyPress override.

OnMouseDown

ComponentBase.OnMouseDown override. (Inherited from EditComponent.)

OnMouseMove

ComponentBase.OnMouseMove override. (Inherited from EditComponent.)

OnMouseUp

ComponentBase.OnMouseUp override. (Inherited from EditComponent.)

SelectAll

Selects the entire text inside this edit box.

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

EditComponent.LoadFrom override.

LoadFromJson

EditComponent.LoadFromJson override.

LoadFromXml

EditComponent.LoadFromXml override.

OnAddedToParent

ComponentBase.OnAddedToParent override. (Inherited from EditComponent.)

OnClicked

Raises the Clicked event. (Inherited from EditComponent.)

OnGotFocus

Raises the GotFocus event. (Inherited from ComponentBase.)

OnGotFocus

ComponentBase.OnGotFocus override. (Inherited from EditComponent.)

OnKeyPressed

Raises the KeyPressed event. (Inherited from EditComponent.)

OnKeyUp

Overloaded.   (Inherited from EditComponent.)

OnLostFocus

Raises the LostFocus event. (Inherited from ComponentBase.)

OnLostFocus

EditComponent.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

EditComponent.OnTextChanged override.

OnTextChanging

Raises the TextChanged event. (Inherited from EditComponent.)

OnUnitChanged

ComponentBase.OnUnitChanged override. (Inherited from EditComponent.)

OnValidated

Raises the Validated event. (Inherited from ComponentBase.)

OnValidateValue

Raises the ValidateValue event.

OnValidating

Raises the Validating event. (Inherited from ComponentBase.)

OnValueChanged

Raises the ValueChanged event.

OnZoomChanged

ComponentBase.OnZoomChanged override. (Inherited from EditComponent.)

SaveTo

EditComponent.SaveTo override.

SaveToJson

EditComponent.SaveToJson override.

SaveToXml

EditComponent.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. (Inherited from EditComponent.)

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. (Inherited from EditComponent.)

KeyPressed

Raised when a key is pressed while the component has input focus. (Inherited from EditComponent.)

KeyUp

Raised when a key is released while the component has input focus. (Inherited from EditComponent.)

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. (Inherited from EditComponent.)

TextChanging

Raised when the text is about to be changed. (Inherited from EditComponent.)

Validated

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

ValidateValue

Raised when the value inside the control needs to be validated.

Validating

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

ValueChanged

Raised when Value has changed.

 See Also

NumericEditComponent Class
MindFusion.Diagramming.Components Namespace