[]
        
(Showing Draft Content)

C1.Win.InputPanel.InputControlHost

InputControlHost Class

Represents a control host in a C1InputPanel control.

Inheritance
InputControlHost
Namespace: C1.Win.InputPanel
Assembly: C1.Win.InputPanel.8.dll
Syntax
public class InputControlHost : InputComponent, IBindableComponent, IComponent, IInputXmlSerializable, IDisposable

Constructors

Name Description
InputControlHost()

Initializes a new instance of InputControlHost.

InputControlHost(Control)

Initializes a new instance of an InputControlHost.

Properties

Name Description
AllowDrop

Gets or sets a value indicating whether the hosted control can accept data that the user drags onto it.

BackColor

Gets or sets the background color for the hosted control.

BackgroundImage

Gets or sets the background image displayed in the hosted control.

BackgroundImageLayout

Gets or sets the background image layout used for the hosted control.

CanFocus

Gets a value indicating whether the hosted control can receive focus.

CanSelect

Gets a value indicating whether the hosted control can be selected.

CausesValidation

Indicates whether the hosted control raises validation events.

Control

Gets or sets the control that this InputControlHost is hosting.

ControlHostNodeName

Gets the name of an XML node when serializing the component to XML.

DefaultElementHeight

Gets the default height of the inner element.

DefaultElementWidth

Gets the default width of the inner element.

Focused

Gets a value indicating whether the hosted control has input focus.

Font

The font used to display text in the hosted control.

ForeColor

Gets or sets the foreground color for the hosted control.

RightToLeft

Indicates whether the hosted control should draw right-to-left for RTL languages.

SupportScrollAfterFocus

Indicates whether the C1IputPanel should scroll the hosted control when it gets the focus.

Text

Gets or sets the text associated with the hosted control.

Methods

Name Description
Focus()

Gives the focus to the hosted control.

LoadControlHostProperties(XmlNode)

Loads properties of an InputControlHost from the specified XmlNode.

OnBackColorChanged(EventArgs)

Raises the BackColorChanged event.

OnDragDrop(DragEventArgs)

Raises the DragDrop event.

OnDragEnter(DragEventArgs)

Raises the DragEnter event.

OnDragLeave(EventArgs)

Raises the DragLeave event.

OnDragOver(DragEventArgs)

Raises the DragOver event.

OnEnabledChanged(EventArgs)

Raises the EnabledChanged event.

OnEnter(EventArgs)

Raises the Enter event.

OnForeColorChanged(EventArgs)

Raises the ForeColorChanged event.

OnGiveFeedback(GiveFeedbackEventArgs)

Raises the GiveFeedback event.

OnLeave(EventArgs)

Raises the Leave event.

OnMouseHover(EventArgs)

Raises the MouseHover event.

OnPaint(PaintEventArgs)

Raises the Paint event.

OnQueryContinueDrag(QueryContinueDragEventArgs)

Raises the QueryContinueDrag event.

OnResize(EventArgs)

Raises the Resize event.

OnRightToLeftChanged(EventArgs)

Raises the RightToLeftChanged event.

OnSubscribeControlEvents(Control)

Subscribes events from the hosted control.

OnUnsubscribeControlEvents(Control)

Unsubscribes events from the hosted control.

OnVisibleChanged(EventArgs)

Raises the VisibleChanged event.

ResetBackColor()

This member is for internal use only.

ResetFont()

This member is for internal use only.

ResetForeColor()

This member is for internal use only.

ResetRightToLeft()

This member is for internal use only.

SaveControlHostProperties(XmlWriter)

Saves properties of an InputControlHost to XML using the specified XmlWriter.

ShouldSerializeBackColor()

This member is for internal use only.

ShouldSerializeFont()

This member is for internal use only.

ShouldSerializeForeColor()

This member is for internal use only.

ShouldSerializeRightToLeft()

This member is for internal use only.

Events

Name Description
BackColorChanged

Fires when the value of the BackColor property changes.

DragDrop

Fires when the user drags an item and the user releases the mouse button, indicating that the item should be dropped into the hosted control.

DragEnter

Fires when the user drags an item into the client area of the hosted control.

DragLeave

Fires when the user drags an item and the mouse pointer is no longer over the client area of the hosted control.

DragOver

Fires when the user drags an item over the client area of the hosted control.

EnabledChanged

Fires when the value of the Enabled property changes.

Enter

Fires when the hosted control is entered.

ForeColorChanged

Fires when the value of the ForeColor property changes.

GiveFeedback

Fires during a drag operation.

Leave

Fires when the input focus leaves the hosted control.

MouseHover

Fires when the mouse pointer hovers over the hosted control.

Paint

Fires when the hosted control is redrawn.

QueryContinueDrag

Fires during a drag-and-drop operation and allows the drag source to determine whether the drag-and-drop operation should be canceled.

Resize

Fires when the hosted control is resized.

RightToLeftChanged

Fires when the value of the RightToLeft property changes.

VisibleChanged

Fires when the value of the Visible property changes.