Skybound Rebar

ControlRenderer Constructor (Control)

Initializes a new instance of a ControlRenderer, and takes its initial values from an existing Control.

[Visual Basic]
Overloads Public Sub New( _
   ByVal c As Control _
)
[C#]
public ControlRenderer(
   Control c
);

Parameters

c
The Control from which initial property values are taken.

Remarks

If you choose to inherit from this type to create a custom renderer for your control, this is the preferred constructor because all of the properties in the render can be obtained from the specified Control.

Exceptions

Exception Type Condition
ArgumentNullException The c property was a null reference (Nothing in Visual Basic).

See Also

ControlRenderer Class | Skybound.Rebar.Rendering Namespace | ControlRenderer Constructor Overload List