[]
Represents a Windows control that hosts a set of InputComponent components and supports automatic binding, layout, and styling.
[ToolboxBitmap(typeof(C1InputPanel), "C1InputPanel.png")]
[ComplexBindingProperties("DataSource", "DataMember")]
[ClassInterface(ClassInterfaceType.AutoDispatch)]
[ComVisible(true)]
public class C1InputPanel : C1InputPanelBase, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IView, ISupportSuperTooltip, ISupportUia, ISupportInitialize
When you bind the C1InputPanel to a data source object at design time, the control is automatically populated with components used to view and edit the data in the data source, including keyboard accelerators.
The automatic layout mechanism ensures that the alignment and tab order are correct, and is automatically updated when elements are added or removed from the control.
All InputComponent components share a common set of styles, properties, methods, and events, which makes programming the C1InputPanel easy and consistent.
Name | Description |
---|---|
C1InputPanel() | Initializes a new instance of a C1InputPanel. |
Name | Description |
---|---|
AutoSize | Gets or sets a value indicating whether the size of the control automatically adjusts. |
BackColor | Gets or sets the background color for the input panel. |
BackgroundImage | Gets or sets the background image displayed in the input panel. |
BackgroundImageLayout | Gets or sets the background image layout used for the input panel. |
BorderColor | Gets or sets the color of the border. |
BorderThickness | Gets or sets the thickness of the border. |
ChildSpacing | Gets or sets the spacing between input components. |
Cursor | Gets or sets the cursor that is displayed when the mouse pointer is over the control. |
DataMember | Gets or sets the specific list in a DataSource object that the panel should display. |
DataSource | Gets or sets the data source object for the panel. |
DefaultSize | Gets the default size of the control. |
ErrorFrameColor | Gets or sets the color that is used for invalid input visual alert. |
ErrorFrameThickness | Gets or sets the frame thickness for invalid input visual alert. |
FocusedComponent | Gets the focused component on the C1InputPanel. |
ForceScrollBars | Gets or sets whether the scrollbars should remain visible even if they are not needed. |
ForeColor | Gets or sets the foreground color for the input panel. |
GroupIndent | Gets or sets the indentation before input components within a group. |
ImageList | Gets or sets the ImageList that contains the images to display on the input panel. |
InputStyle | Gets or sets a InputStyle object that is used for customization of appearance settings when the VisualStyle property is set to Custom. |
IsThemedControlHost | Gets or sets a value indicating whether the theme applies to the InputControlHost. |
Items | Gets the collection of input components on this panel. |
MouseWheelEdit | Gets or sets whether a user can change data values in the input components using the mouse wheel. |
Padding | Gets or sets the interiour spacing of the input panel. |
ReadOnly | Gets or sets a value indicating whether the panel operates in the read-only mode. |
ScaleChildren | Gets a value that determines the scaling of child controls. |
ScrollBars | Gets or sets which scroll bars should appear on the C1InputPanel. |
ScrollLimits | Gets a value of the ScrollPosition property when the right bottom corner of the scrollable area is visible. |
ScrollPosition | Gets or sets the Point value determining the current scroll position. |
Site | Gets or sets the site of the control. |
SmoothScrolling | Gets or sets whether to scroll the panel smoothly. |
Text | Gets or sets the text associated with the control. |
TextRenderingHint | Gets or sets the TextRenderingHint that controls text rendering quality. |
ToolTipSettings | Gets the properties of the built-in tooltip. |
VisualStyle | Gets or sets the visual style of the C1InputPanel. |
Name | Description |
---|---|
BeginInit() | |
BeginUpdate() | Maintains performance while items are being added or removed from the C1InputPanel. |
Dispose(bool) | Clean up any resources being used. |
EndInit() | |
EndUpdate() | Resumes processing after it has been suspended by a call to BeginUpdate(). |
GetItemAt(Point) | Returns the InputComponent that is located at specified client point of the C1InputPanel. |
GetItemBounds(InputComponent) | Returns the size and location of the given InputComponent in pixels relative to the parent C1InputPanel control. |
GetItemBounds(InputComponent, InputElementType) | Returns the size and location of the given InputComponent in pixels relative to the parent C1InputPanel control. |
GetNextElement(Element, bool, bool, bool, bool) | Gets the next C1.Framework.XView.Element given a start C1.Framework.XView.Element. |
GetToolTip(Control) | Retrieves the rich tooltip text associated with the specified control. |
IsInputKey(Control, Keys) | Internal version of IsInputKey that should be called by hosted controls in order to allow the view to handle tab keys, arrows, etc. |
IsMouseInsideXView() | Returns True if the mouse pointer is inside the XView control. |
Load(Stream) | Loads an input panel definition from a Stream. |
Load(string) | Loads an input panel definition from an XML file. |
Load(XmlDocument) | Loads an input panel definition from an XmlDocument. |
OnAmbientChangedVisualStyle() | Method invoked when the VisualStyle property changes. |
OnBackColorChanged(EventArgs) | Raises the BackColorChanged event. |
OnBindingContextChanged(EventArgs) | Notifies input components about changing the binding context. |
OnClick(EventArgs) | Raises the Click event. |
OnControlHostFromXmlNode(ControlHostFromXmlNodeEventArgs) | Raises the ControlHostFromXmlNode event. |
OnCursorChanged(EventArgs) | Raises the CursorChanged event. |
OnDoubleClick(EventArgs) | Raises the DoubleClick event. |
OnEnabledChanged(EventArgs) | Raises the EnabledChanged event. |
OnFontChanged(EventArgs) | Raises the FontChanged event. |
OnGotFocus(EventArgs) | Raises the GotFocus event. |
OnInputPanelDeserialized(EventArgs) | Raises the InputPanelDeserialized event. |
OnItemDeserialized(ItemDeserializedEventArgs) | Raises the ItemDeserialized event. |
OnLostFocus(EventArgs) | Raises the LostFocus event. |
OnMouseDown(MouseEventArgs) | Raises the MouseDown event. |
OnMouseEnter(EventArgs) | Raises the MouseEnter event. |
OnMouseLeave(EventArgs) | Raises the MouseLeave event. |
OnMouseMove(MouseEventArgs) | Raises the MouseMove event. |
OnMouseUp(MouseEventArgs) | Raises the MouseUp event. |
OnMouseWheel(MouseEventArgs) | Raises the MouseWheel event. |
OnPaddingChanged(EventArgs) | Raises the PaddingChanged event. |
OnPaint(PaintEventArgs) | Raises the Paint event. |
OnPaintBackground(PaintEventArgs) | Paints the background of the control. |
OnParentCursorChanged(EventArgs) | Raises the CursorChanged event. |
OnRightToLeftChanged(EventArgs) | Raises the RightToLeftChanged event. |
OnToolTipLinkClicked(ToolTipLinkClickedEventArgs) | Raises the ToolTipLinkClicked event. |
OnVisibleChanged(EventArgs) | Raises the VisibleChanged event. |
ProcessMnemonic(char) | Handle mnemonic keys. |
ResetBackColor() | Restores the default value of the BackColor property. |
ResetBorderColor() | Restores the default value of the BorderColor property. |
ResetErrorFrameColor() | |
ResetForeColor() | Restores the default value of the ForeColor property. |
ResetPadding() | |
ResetVisualStyle() | Resets the value of the VisualStyle ambient property. |
ResubscribeTooltip(C1SuperTooltipBase, C1SuperTooltipBase) | Occurs when an external C1SuperTooltip is attached or detached. |
Save(Stream) | Saves an input panel definition into a Stream. |
Save(Stream, Encoding) | Saves an input panel definition into a Stream. |
Save(string) | Saves an input panel definition into an XML file. |
Save(string, Encoding) | Saves an input panel definition into an XML file. |
Save(XmlWriter) | Saves an input panel definition into an XmlWriter. |
ScaleControl(SizeF, BoundsSpecified) | Scales a control's location, size, padding and margin. |
ScrollIntoView(InputComponent) | Scrolls a given InputComponent into view. |
SetBoundsCore(int, int, int, int, BoundsSpecified) | Performs the work of setting the specified bounds of this control. |
SetDataBinding(object, string, bool) | Sets the DataSource and DataMember properties at run time. Also, may populate the C1InputPanel with the bound input components. |
SetToolTip(Control, string) | Associates a rich tooltip with a control. |
ShouldSerializeBackColor() | Specifies whether to save the value of the BackColor property. |
ShouldSerializeBorderColor() | Specifies whether to save the value of the BorderColor property. |
ShouldSerializeErrorFrameColor() | |
ShouldSerializeForeColor() | Specifies whether to save the value of the ForeColor property. |
ShouldSerializeItems() | |
ShouldSerializePadding() | |
ShouldSerializeToolTipSettings() | |
ShouldSerializeVisualStyle() | Gets a value that determines whether the VisualStyle property is set explicitly and should be persisted. |
ShowToolTip(InputComponent, Point) | Shows the rich tooltip for the specified InputComponent, at the specified position. |
ShowToolTip(InputComponent, Point, int) | Shows the rich tooltip for the specified InputComponent, at the specified position, for a specified amount of time. |
ShowToolTip(InputComponent, int, int) | Shows the rich tooltip for the specified InputComponent, at the specified position. |
ShowToolTip(InputComponent, int, int, int) | Shows the rich tooltip for the specified InputComponent, at the specified position, for a specified amount of time. |
ShowToolTip(string, Control, Point) | Shows the rich tooltip with the specified text, for the specified control, at the specified position. |
ShowToolTip(string, Control, Point, int) | Shows the rich tooltip with the specified text, for the specified control, at the specified position, for a specified amount of time. |
ShowToolTip(string, Control, int, int) | Shows the rich tooltip with the specified text, for the specified control, at the specified position. |
ShowToolTip(string, Control, int, int, int) | Shows the rich tooltip with the specified text, for the specified control, at the specified position, for a specified amount of time. |
WndProc(ref Message) | Processes Windows messages. |
Name | Description |
---|---|
ControlHostFromXmlNode | Occurs before an InputControlHost starts loading from XML. |
InputPanelDeserialized | Occurs when the C1InputPanel control is loaded from XML. |
ItemDeserialized | Occurs when an InputComponent is loaded from XML. |
ToolTipLinkClicked | Event that fires when the user clicks a hyperlink within a tooltip. |