ProgressBarRenderer.DrawHorizontalBar(Graphics, Rectangle) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
會畫出一個空白的進度條控制,橫向填滿。
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)
參數
例外狀況
備註
在使用此方法之前,您應該確認屬性是否 IsSupported 返回 true。