InputPanel for WinForms帮助文档
InputComponent 类 成员
属性  方法  事件


以下表中列出了InputComponent的公开成员.

公共 属性
 名称说明
Public 属性BoundsGets the position of the component within its parent.  
Public 属性BoundValueGets or sets the bound data value associated with this component.  
Public 属性BreakGets or sets how the layout should break the flow after the component.  
Public 属性Container (从System.ComponentModel.Component继承)
Public 属性DataBindingsGets a reference to the collection of data bindings for the component.  
Public 属性DataFieldGets or sets the field of the data source to which this component is bound.  
Public 属性DataSourceGets or sets the data source object for this input component.  
Public 属性DisableOnNoDataGets or sets whether the component should be disabled when it is bound to an empty data source, i.e. when CurrencyManager.Count = 0.  
Public 属性ElementHeightGets or sets the height of the inner element.  
Public 属性ElementWidthGets or sets the width of the inner element.  
Public 属性EnabledGets or sets a value indicating whether the component can respond to user interaction.  
Public 属性ErrorTextGets or sets an error description string with optional HTML tags.  
Public 属性FocusedGets a value indicating whether the component has input focus.  
Public 属性FontGets or sets the Font used by the InputComponent.  
Public 属性FontPaddingGets or sets whether the InputComponent should use padding to avoid text clipping.  
Public 属性ForeColorGets or sets the System.Drawing.Color used to display text in the InputComponent.  
Public 属性HeightGets or sets the height of the component. Set to -1 to let the component calculate it automatically.  
Public 属性HorizontalAlignGets or sets how content is horizontally aligned within the InputComponent.  
Public 属性InputPanelGets the C1InputPanel that this InputComponent belongs to.  
Public 属性IsDisposedGets a value indicating whether the component has been disposed.  
Public 属性NameGets or sets the unique name for this InputComponent.  
Public 属性PaddingGets or sets padding within the input component.  
Public 属性ParentGets the component's parent (either a C1InputPanel or a InputComponent).  
Public 属性Site (从System.ComponentModel.Component继承)
Public 属性TabStopGets or sets a value indicating whether the user can give the focus to this component using the TAB key.  
Public 属性TagGets or sets an object that contains data associated with this component.  
Public 属性TextGets or sets the text associated with this component.  
Public 属性ToolTipTextGets or sets the text that appears as a ToolTip for this component (may include HTML tags).  
Public 属性VerticalAlignGets or sets how content is vertically aligned within the InputComponent.  
Public 属性VisibilityGets or sets the display state of the component.  
Public 属性WidthGets or sets the width of the component. Set to -1 to have the component calculate it automatically.  
页首
保护 属性
 名称说明
Protected 属性CanRaiseEvents (从System.ComponentModel.Component继承)
Protected 属性DefaultElementHeight  
Protected 属性DefaultElementWidth  
Protected 属性DefaultHeight  
Protected 属性DefaultPadding  
Protected 属性DefaultWidth  
Protected 属性DesignMode (从System.ComponentModel.Component继承)
Protected 属性Events (从System.ComponentModel.Component继承)
Protected 属性NotSetHorizontalAlign  
Protected 属性NotSetVerticalAlign  
页首
公共 方法
 名称说明
Public 方法CreateObjRef (从System.MarshalByRefObject继承)
Public 方法Dispose重载. 重写. Clean up any resources being used.  
Public 方法FocusSets input focus to the component.  
Public 方法GetLifetimeService (从System.MarshalByRefObject继承)
Public 方法InitializeLifetimeService (从System.MarshalByRefObject继承)
Public 方法ToString (从System.ComponentModel.Component继承)
页首
保护 方法
 名称说明
Protected 方法Finalize (从System.ComponentModel.Component继承)
Protected 方法GetService (从System.ComponentModel.Component继承)
Protected 方法MemberwiseClone重载.  (从System.MarshalByRefObject继承)
Protected 方法OnBoundValueChangedRaises the BoundValueChanged event.  
Protected 方法OnChangeCanceledRaises the ChangeCanceled event.  
Protected 方法OnChangeCommittedRaises the ChangeCommitted event.  
Protected 方法OnClickRaises the Click event.  
Protected 方法OnContextMenuShowingRaises the ContextMenuShowing event.  
Protected 方法OnDoubleClickRaises the DoubleClick event.  
Protected 方法OnGotFocusRaises the GotFocus event.  
Protected 方法OnKeyDownRaises the KeyDown event.  
Protected 方法OnKeyPressRaises the KeyPress event.  
Protected 方法OnKeyUpRaises the KeyUp event.  
Protected 方法OnLostFocusRaises the LostFocus event.  
Protected 方法OnMouseDownRaises the MouseDown event.  
Protected 方法OnMouseEnterRaises the MouseEnter event.  
Protected 方法OnMouseLeaveRaises the MouseLeave event.  
Protected 方法OnMouseMoveRaises the MouseMove event.  
Protected 方法OnMouseUpRaises the MouseUp event.  
Protected 方法OnTextChangedRaises the TextChanged event.  
Protected 方法OnValidatedRaises the Validated event.  
Protected 方法OnValidatingRaises the Validating event.  
Protected 方法ResetElementHeightThis member is for internal use only.  
Protected 方法ResetElementWidthThis member is for internal use only.  
Protected 方法ResetForeColor  
Protected 方法ResetHeightThis member is for internal use only.  
Protected 方法ResetPadding  
Protected 方法ResetWidthThis member is for internal use only.  
Protected 方法ShouldSerializeElementHeightThis member is for internal use only.  
Protected 方法ShouldSerializeElementWidthThis member is for internal use only.  
Protected 方法ShouldSerializeForeColor  
Protected 方法ShouldSerializeHeightThis member is for internal use only.  
Protected 方法ShouldSerializePadding  
Protected 方法ShouldSerializeWidthThis member is for internal use only.  
页首
公共 事件
 名称说明
Public 事件BoundValueChangedFires when the value of the BoundValue property changes.  
Public 事件ChangeCanceledFires when the user cancels changes to the component contents.  
Public 事件ChangeCommittedFires when the user commits changes to the component contents.  
Public 事件ClickFires when the component is clicked.  
Public 事件ContextMenuShowingFires when the context menu should appear.  
Public 事件Disposed (从System.ComponentModel.Component继承)
Public 事件DoubleClickFires when the component is double-clicked.  
Public 事件GotFocusFires when the component receives the focus.  
Public 事件KeyDownFires when a key is pressed while the component has focus.  
Public 事件KeyPressFires when a key is pressed while the component has focus.  
Public 事件KeyUpFires when a key is released while the component has focus.  
Public 事件LostFocusFires when the component loses the focus.  
Public 事件MouseDownFires when the user presses a mouse button on the component.  
Public 事件MouseEnterFires when the mouse enters the bounds of a component.  
Public 事件MouseLeaveFires when the mouse leaves the bounds of a component.  
Public 事件MouseMoveFires when the user moves the mouse over the component.  
Public 事件MouseUpFires when the user releases a mouse button over the component.  
Public 事件TextChangedFires when the value of the Text property changes.  
Public 事件ValidatedFires after the contents of a component have been validated.  
Public 事件ValidatingFires to validate the contents of a component before it loses focus.  
页首
请参见

引用

InputComponent 类
C1.Win.C1InputPanel 命名空间

Send Feedback