ControlPaint.DrawRadioButton Methode

Definition

Zeichnet ein Optionsfeld-Steuerelement.

Überlädt

DrawRadioButton(Graphics, Rectangle, ButtonState)

Zeichnet auf der angegebenen Grafikoberfläche und innerhalb der angegebenen Begrenzungen ein Optionsfeld-Steuerelement im angegebenen Zustand.

DrawRadioButton(Graphics, Int32, Int32, Int32, Int32, ButtonState)

Zeichnet auf der angegebenen Grafikoberfläche und innerhalb der angegebenen Begrenzungen ein Optionsfeld-Steuerelement im angegebenen Zustand.

DrawRadioButton(Graphics, Rectangle, ButtonState)

Zeichnet auf der angegebenen Grafikoberfläche und innerhalb der angegebenen Begrenzungen ein Optionsfeld-Steuerelement im angegebenen Zustand.

public:
 static void DrawRadioButton(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle rectangle, System::Windows::Forms::ButtonState state);
public static void DrawRadioButton (System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.ButtonState state);
static member DrawRadioButton : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ButtonState -> unit
Public Shared Sub DrawRadioButton (graphics As Graphics, rectangle As Rectangle, state As ButtonState)

Parameter

graphics
Graphics

Die Instanz von Graphics, in der gezeichnet werden soll.

rectangle
Rectangle

Das Rectangle, das die Abmessungen des Optionsfelds darstellt.

state
ButtonState

Eine bitweise Kombination der ButtonState-Werte, die den Zustand für das Zeichnen des Optionsfelds angibt.

Weitere Informationen

Gilt für:

DrawRadioButton(Graphics, Int32, Int32, Int32, Int32, ButtonState)

Zeichnet auf der angegebenen Grafikoberfläche und innerhalb der angegebenen Begrenzungen ein Optionsfeld-Steuerelement im angegebenen Zustand.

public:
 static void DrawRadioButton(System::Drawing::Graphics ^ graphics, int x, int y, int width, int height, System::Windows::Forms::ButtonState state);
public static void DrawRadioButton (System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ButtonState state);
static member DrawRadioButton : System.Drawing.Graphics * int * int * int * int * System.Windows.Forms.ButtonState -> unit
Public Shared Sub DrawRadioButton (graphics As Graphics, x As Integer, y As Integer, width As Integer, height As Integer, state As ButtonState)

Parameter

graphics
Graphics

Die Instanz von Graphics, in der gezeichnet werden soll.

x
Int32

Die x-Koordinate der oberen linken Ecke des Zeichenrechtecks.

y
Int32

Die y-Koordinate der oberen linken Ecke des Zeichenrechtecks.

width
Int32

Die Breite des Optionsfelds.

height
Int32

Die Höhe des Optionsfelds.

state
ButtonState

Eine bitweise Kombination der ButtonState-Werte, die den Zustand für das Zeichnen des Optionsfelds angibt.

Gilt für: