VisualStyleRenderer.GetBackgroundContentRectangle メソッド
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文Public Function GetBackgroundContentRectangle ( _ dc As IDeviceContext, _ bounds As Rectangle _ ) As Rectangle
Dim instance As VisualStyleRenderer Dim dc As IDeviceContext Dim bounds As Rectangle Dim returnValue As Rectangle returnValue = instance.GetBackgroundContentRectangle(dc, bounds)
public function GetBackgroundContentRectangle ( dc : IDeviceContext, bounds : Rectangle ) : Rectangle
戻り値
現在の visual スタイル要素の背景の内容表示領域を含む Rectangle。
例外
解説visual スタイルは、各背景イメージ内に内容表示領域を定義できます。この領域には、テキストやアイコンなどの内容物を、背景の境界線を上書きすることなく配置できます。このメソッドは、指定された背景領域を使用して、現在の visual スタイル要素の内容表示領域を計算します。
プラットフォームWindows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照Weblioに収録されているすべての辞書からVisualStyleRenderer.GetBackgroundContentRectangle メソッドを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からVisualStyleRenderer.GetBackgroundContentRectangle メソッド
を検索
- VisualStyleRenderer.GetBackgroundContentRectangle メソッドのページへのリンク