[]
Gets the desired (auto) size of the control.
public override void GetAutoSize(IScriptContext context, ref int width, ref int height)
Type | Name | Description |
---|---|---|
IScriptContext | context | Context that should be used to get calculated style properties. |
int | width | OUT: the width of the control. |
int | height | OUT: the height of the control. |