RadioButtonRenderer.DrawParentBackground(Graphics, Rectangle, Control) メソッド

定義

コントロールの親の背景を指定された領域に描画します。

public:
 static void DrawParentBackground(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::Control ^ childControl);
public static void DrawParentBackground(System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.Control childControl);
static member DrawParentBackground : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.Control -> unit
Public Shared Sub DrawParentBackground (g As Graphics, bounds As Rectangle, childControl As Control)

パラメーター

g
Graphics

childControlの親の背景を描画するために使用されるGraphics

bounds
Rectangle

親コントロールの背景を描画する Rectangle 。 この四角形は、子コントロールの境界内にある必要があります。

childControl
Control

親の背景を描画するコントロール。

注釈

オペレーティング システムでビジュアル スタイルが有効になっていて、visual スタイルが現在のアプリケーションに適用されている場合、このメソッドはオプション ボタン (ラジオ ボタンとも呼ばれます) を現在の表示スタイルで描画します。 それ以外の場合、このメソッドは従来のWindows スタイルでオプション ボタンを描画します。

適用対象