Returns the preffered size of the control in pixels.
シンタックス
'宣言
Public Overrides Sub GetAutoSize( _
ByVal As IScriptContext, _
ByRef As System.Integer, _
ByRef As System.Integer _
)
'使用法
Dim instance As RenderInputButton
Dim context As IScriptContext
Dim width As System.Integer
Dim height As System.Integer
instance.GetAutoSize(context, width, height)
public override void GetAutoSize(
IScriptContext ,
ref System.int ,
ref System.int
)
パラメータ
- context
- Context that should be used to get calculated style properties.
- width
- OUT: Width of the control.
- height
- OUT: Height of the control.
参照