ProgressBarRenderer.DrawHorizontalBar(Graphics, Rectangle) Methode

Definitie

Hiermee tekent u een leeg voortgangsbalk besturingselement dat horizontaal wordt ingevuld.

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)

Parameters

g
Graphics

Hiermee Graphics tekent u de voortgangsbalk.

bounds
Rectangle

Hiermee Rectangle geeft u de grenzen van de voortgangsbalk op.

Uitzonderingen

Het besturingssysteem biedt geen ondersteuning voor visuele stijlen.

– of –

Visuele stijlen worden uitgeschakeld door de gebruiker in het besturingssysteem.

– of –

Visuele stijlen worden niet toegepast op het clientgebied van toepassingsvensters.

Opmerkingen

Voordat u deze methode gebruikt, moet u controleren of de IsSupported eigenschap retourneert true.

Van toepassing op