PrintDocument for WPF | ComponentOne
C1.WPF.PrintDocument.4.6.2 Assembly / C1.C1Preview Namespace / RenderInputCheckBox Class / GetAutoSize Method
Context that should be used to get calculated style properties.
OUT: the width of the control.
OUT: the height of the control.

In This Topic
    GetAutoSize Method (RenderInputCheckBox)
    In This Topic
    Gets the desired (auto) size of the control.
    Syntax
    'Declaration
     
    Public Overrides Sub GetAutoSize( _
       ByVal context As IScriptContext, _
       ByRef width As Integer, _
       ByRef height As Integer _
    ) 
    public override void GetAutoSize( 
       IScriptContext context,
       ref int width,
       ref int height
    )

    Parameters

    context
    Context that should be used to get calculated style properties.
    width
    OUT: the width of the control.
    height
    OUT: the height of the control.
    See Also