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

コントロール用にサイズがカスタマイズされた領域。
コントロールを当てはめることのできる矩形領域のサイズを取得します。
構文
Public Overrides Function GetPreferredSize( _
   ByVal proposedSize As Size _
) As Size
public override Size GetPreferredSize( 
   Size proposedSize
)

パラメータ

proposedSize
コントロール用にサイズがカスタマイズされた領域。

戻り値の型

矩形の幅と高さを表すSystem.Drawing.Sizeの順序付けられたタイプの組み合わせ。
プラットフォーム

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

参照

GcCalculator クラス
GcCalculator メンバ

Send Feedback