[]
Base class for the items in a C1InputPanel.
public abstract class InputComponent : Component, IBindableComponent, IComponent, IDisposable, IInputXmlSerializable
Name | Description |
---|---|
AutoAdjustWidth | Gets o sets a value indicates whether the width of the component should automatically align to the width of the InputPanel or not. |
BoundValue | Gets or sets the bound data value associated with this component. |
Bounds | Gets the position of the component within its parent. |
Break | Gets or sets how the layout should break the flow after the component. |
ColumnIndex | Gets or sets the column index for this input component. |
ColumnSpan | Gets or sets a value that indicates the total number of columns that input component spans within a grid. |
DataBindings | Gets a reference to the collection of data bindings for the component. |
DataField | Gets or sets the field of the data source to which this component is bound. |
DataSource | Gets or sets the data source object for this input component. |
DefaultBreakType | Gets the default BreakType of the input component. |
DefaultElementHeight | Gets the default height of the inner element. |
DefaultElementWidth | Gets the default width of the inner element. |
DefaultHeight | Gets the default height of the input component. |
DefaultPadding | Gets the default padding within the input component. |
DefaultWidth | Gets the default width of the input component. |
DisableOnNoData | Gets or sets whether the component should be disabled when it is bound to an empty data source, i.e. when CurrencyManager.Count = 0. |
ElementHeight | Gets or sets the height of the inner element. |
ElementWidth | Gets or sets the width of the inner element. |
Enabled | Gets or sets a value indicating whether the component can respond to user interaction. |
ErrorText | Gets or sets an error description string with optional HTML tags. |
Focused | Gets a value indicating whether the component has input focus. |
Font | Gets or sets the Font used by the InputComponent. |
FontPadding | Gets or sets whether the InputComponent should use padding to avoid text clipping. |
ForeColor | Gets or sets the Color used to display text in the InputComponent. |
Height | Gets or sets the height of the component. Set to -1 to let the component calculate it automatically. |
HorizontalAlign | Gets or sets how content is horizontally aligned within the InputComponent. |
InputPanel | Gets the C1InputPanel that this InputComponent belongs to. |
IsDisposed | Gets a value indicating whether the component has been disposed. |
Name | Gets or sets the unique name for this InputComponent. |
NotSetHorizontalAlign | Gets actual horizontal alignment when the HorizontalAlign property is equal to NotSet. |
NotSetVerticalAlign | Gets actual vertical alignment when the VerticalAlign property is equal to NotSet. |
Padding | Gets or sets padding within the input component. |
Parent | Gets the component's parent (either a C1InputPanel or a InputComponent). |
RowIndex | Gets or sets the row index for this input component. |
RowSpan | Gets or sets a value that indicates the total number of rows that input component spans within a grid. |
TabStop | Gets or sets a value indicating whether the user can give the focus to this component using the TAB key. |
Tag | Gets or sets an object that contains data associated with this component. |
Text | Gets or sets the text associated with this component. |
ToolTipText | Gets or sets the text that appears as a ToolTip for this component (may include HTML tags). |
VerticalAlign | Gets or sets how content is vertically aligned within the InputComponent. |
Visibility | Gets or sets the display state of the component. |
Width | Gets or sets the width of the component. Set to -1 to have the component calculate it automatically. |
Name | Description |
---|---|
BoundValueChanged | Fires when the value of the BoundValue property changes. |
ChangeCanceled | Fires when the user cancels changes to the component contents. |
ChangeCommitted | Fires when the user commits changes to the component contents. |
Click | Fires when the component is clicked. |
ContextMenuShowing | Fires when the context menu should appear. |
DoubleClick | Fires when the component is double-clicked. |
GotFocus | Fires when the component receives the focus. |
KeyDown | Fires when a key is pressed while the component has focus. |
KeyPress | Fires when a key is pressed while the component has focus. |
KeyUp | Fires when a key is released while the component has focus. |
LostFocus | Fires when the component loses the focus. |
MouseDown | Fires when the user presses a mouse button on the component. |
MouseEnter | Fires when the mouse enters the bounds of a component. |
MouseLeave | Fires when the mouse leaves the bounds of a component. |
MouseMove | Fires when the user moves the mouse over the component. |
MouseUp | Fires when the user releases a mouse button over the component. |
TextChanged | Fires when the value of the Text property changes. |
Validated | Fires after the contents of a component have been validated. |
Validating | Fires to validate the contents of a component before it loses focus. |