[]
Returns the preffered size of the control in pixels.
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)
| 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. |