PowerTools PlusPak for Windows Forms 8.0J
GetPreferredSize メソッド (ControlBase)

最適のサイズ
コントロールの適切なサイズを取得します。
構文
Public Overrides Function GetPreferredSize( _
   ByVal proposedSize As Size _
) As Size
public override Size GetPreferredSize( 
   Size proposedSize
)

パラメータ

proposedSize
最適のサイズ

戻り値の型

コントロールのすべてが収まる適切なサイズ
プラットフォーム

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

参照

ControlBase クラス
ControlBase メンバ

Send Feedback