[]
        
(Showing Draft Content)

C1.C1Preview.RenderInputText.GetAutoSize

GetAutoSize Method

GetAutoSize(IScriptContext, ref int, ref int)

Returns the preffered size of the control in pixels.

Declaration
public override void GetAutoSize(IScriptContext context, ref int width, ref int height)
Public Overrides Sub GetAutoSize(context As IScriptContext, ByRef width As Integer, ByRef height As Integer)
Parameters
Type Name Description
IScriptContext context

Context that should be used to get calculated style properties.

int width

OUT: Width of the control.

int height

OUT: Height of the control.

Overrides