GetAutoSize Method (RenderInputButtonBase)
In This Topic
Returns the preffered size of the input control in pixels.
Syntax
'Declaration
Public MustOverride Sub GetAutoSize( _
ByVal As IScriptContext, _
ByRef As Integer, _
ByRef As Integer _
)
public abstract 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