GetAutoSize Method (RenderInputButton)
In This Topic
Returns the preffered size of the control in pixels.
Syntax
'Declaration
Public Overrides Sub GetAutoSize( _
ByVal As IScriptContext, _
ByRef As Integer, _
ByRef As Integer _
)
public override void GetAutoSize(
IScriptContext ,
ref int ,
ref int
)
Parameters
- context
- Context that should be used to get calculated style properties.
- width
- OUT: Width of the control.
- height
- OUT: Height of the control.
See Also