Reports for WPF | ComponentOne
C1.C1Report Namespace / Field Class / GetRenderContent Method
Field text.
Chart image.
This parameter allows the field to render differently at design time or run time. This is usually needed for bound controls, since no data is available at design time.

In This Topic
    GetRenderContent Method (Field)
    In This Topic
    Selects the text or image that will be rendered by the field.
    Syntax
    'Declaration
     
    Protected Overridable Sub GetRenderContent( _
       ByRef value As String, _
       ByRef img As Image, _
       ByVal designTime As Boolean _
    ) 
    protected virtual void GetRenderContent( 
       ref string value,
       ref Image img,
       bool designTime
    )

    Parameters

    value
    Field text.
    img
    Chart image.
    designTime
    This parameter allows the field to render differently at design time or run time. This is usually needed for bound controls, since no data is available at design time.
    Remarks
    Override this method in derived classes to provide custom text or images to be rendered in the report.
    See Also