次の方法で共有


ProgressBarRenderer.DrawHorizontalBar(Graphics, Rectangle) メソッド

定義

水平方向に塗りつぶす空の進行状況バー コントロールを描画します。

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

パラメーター

g
Graphics

進行状況バーの描画に使用する Graphics

bounds
Rectangle

進行状況バーの境界を指定する Rectangle

例外

オペレーティング システムでは、ビジュアル スタイルはサポートされていません。

-又は-

ビジュアル スタイルは、オペレーティング システムのユーザーによって無効になります。

-又は-

ビジュアル スタイルは、アプリケーション ウィンドウのクライアント領域には適用されません。

注釈

このメソッドを使用する前に、 IsSupported プロパティが trueを返していることを確認する必要があります。

適用対象