[]
        
(Showing Draft Content)

C1.C1Preview.RenderInputBase

RenderInputBase Class

The abstract base class for all Preview Forms input controls. Derived types represent active UI elements embedded in a C1PrintDocument when that document is shown by a supporting viewer (e.g. C1.Win.C1Preview.C1PrintPreviewControl).

Namespace: C1.C1Preview
Assembly: C1.PrintDocument.8.dll
Syntax
public abstract class RenderInputBase : RenderObject, IStyleOwner, IDocumentLocation
Remarks

Constructors

Name Description
RenderInputBase()

Initializes a new instance of the RenderInputBase object.

Properties

Name Description
Cursor

Gets or sets the cursor used when the mouse is over the current control.

HasInputActions

Gets a value indicating whether the current object's InputActions collection has been initialized and contains one or more fragments.

InputActions

Gets the collection of InputAction objects describing the pairs of supported user actions and handlers associated with those actions.

Printable

Gets or sets a value indicating whether the current control is printed. If true (default), the content of the control is printed normally. Otherwise, it is not printed or exported. This might be used for example to provide help (invisible in the printed document) for form fields that are to be filled.

ReadOnly

Gets or sets a value indicating whether the current control is read-only. For read-only controls, all input actions are still fired, but the control's value cannot be changed. The default is false.

StatusText

Gets or sets the text that appears in the status line of the preview control when the current control has focus.

ToolTip

Gets or sets the tooltip associated with the current control.

Methods

Name Description
AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool)

Assigns (copies) properties from another RenderObject to the current object. Calls the base AssignFrom(RenderObject, bool, bool, bool, bool, bool, bool) method. If source is a RenderInputBase, also copies RenderInputBase-specific properties.

CreateControl(IScriptContext)

Creates the underlying Control.

GetAutoSize(IScriptContext, ref int, ref int)

Returns the preffered size of the input control in pixels.

GetControlType()

Gets the control type.

GetDefaultCursor()

For internal use.

GetDefaultFlags()

For internal use.

GetValue()

Gets the input value.

InitControl(Control, IScriptContext)

Initializes the input control.

InitRenderObject()

For internal use.

IsControlNeededParentForWmPrint()

Called to test whether the underlying control requires a parent to correctly process the WM_PRINT message.

IsResetSelectionNeeded()

Called to test whether the selection on the parent control should be reset when the underlying control receives input focus.

OnValueChanged()

Called when the C1.C1Preview.IValueProvider.Value has changed.

SetSplitHorzBehavior(SplitBehaviorEnum)

For internal use.

SetSplitVertBehavior(SplitBehaviorEnum)

For internal use.

SetValue(object)

Sets the input value.

ShouldSerializeCursor()

Indicates whether the Cursor should be serialized.

See Also