ControlPaint.DrawSelectionFrame メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > ControlPaint.DrawSelectionFrame メソッドの意味・解説 

ControlPaint.DrawSelectionFrame メソッド

標準の選択項目の枠を、指定した状態で、指定したグラフィックスの表面に、指定した内部と外部の大きさで、指定した背景色を使用して描画します。

名前空間: System.Windows.Forms
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文構文

Public Shared Sub DrawSelectionFrame
 ( _
    graphics As Graphics, _
    active As Boolean, _
    outsideRect As Rectangle, _
    insideRect As Rectangle, _
    backColor As Color _
)
Dim graphics As Graphics
Dim active As Boolean
Dim outsideRect As Rectangle
Dim insideRect As Rectangle
Dim backColor As Color

ControlPaint.DrawSelectionFrame(graphics, active, outsideRect, insideRect, backColor)
public static void DrawSelectionFrame
 (
    Graphics graphics,
    bool active,
    Rectangle outsideRect,
    Rectangle insideRect,
    Color backColor
)
public:
static void DrawSelectionFrame (
    Graphics^ graphics, 
    bool active, 
    Rectangle outsideRect, 
    Rectangle insideRect, 
    Color backColor
)
public static void DrawSelectionFrame
 (
    Graphics graphics, 
    boolean active, 
    Rectangle outsideRect, 
    Rectangle insideRect, 
    Color backColor
)
public static function DrawSelectionFrame
 (
    graphics : Graphics, 
    active : boolean, 
    outsideRect : Rectangle, 
    insideRect : Rectangle, 
    backColor : Color
)

パラメータ

graphics

描画する Graphics。

active

選択項目の枠をアクティブな状態で描画する場合は、true。それ以外の場合は、false。

outsideRect

選択項目の枠の外部境界を表す Rectangle。

insideRect

選択項目の枠の内部境界を表す Rectangle。

backColor

枠の背景の Color。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

ControlPaint.DrawSelectionFrame メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ControlPaint.DrawSelectionFrame メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS