ControlPaint.DrawMixedCheckBox 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
绘制三态复选框控件。
重载
| 名称 | 说明 |
|---|---|
| DrawMixedCheckBox(Graphics, Rectangle, ButtonState) |
在指定的图形图面和指定边界内绘制处于指定状态的三态复选框控件。 |
| DrawMixedCheckBox(Graphics, Int32, Int32, Int32, Int32, ButtonState) |
在指定的图形图面和指定边界内绘制处于指定状态的三态复选框控件。 |
DrawMixedCheckBox(Graphics, Rectangle, ButtonState)
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
在指定的图形图面和指定边界内绘制处于指定状态的三态复选框控件。
public:
static void DrawMixedCheckBox(System::Drawing::Graphics ^ graphics, System::Drawing::Rectangle rectangle, System::Windows::Forms::ButtonState state);
public static void DrawMixedCheckBox(System.Drawing.Graphics graphics, System.Drawing.Rectangle rectangle, System.Windows.Forms.ButtonState state);
static member DrawMixedCheckBox : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.ButtonState -> unit
Public Shared Sub DrawMixedCheckBox (graphics As Graphics, rectangle As Rectangle, state As ButtonState)
参数
- state
- ButtonState
指定要在其中绘制复选框的状态的值的 ButtonState 按位组合。
另请参阅
适用于
DrawMixedCheckBox(Graphics, Int32, Int32, Int32, Int32, ButtonState)
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
- Source:
- ControlPaint.cs
在指定的图形图面和指定边界内绘制处于指定状态的三态复选框控件。
public:
static void DrawMixedCheckBox(System::Drawing::Graphics ^ graphics, int x, int y, int width, int height, System::Windows::Forms::ButtonState state);
public static void DrawMixedCheckBox(System.Drawing.Graphics graphics, int x, int y, int width, int height, System.Windows.Forms.ButtonState state);
static member DrawMixedCheckBox : System.Drawing.Graphics * int * int * int * int * System.Windows.Forms.ButtonState -> unit
Public Shared Sub DrawMixedCheckBox (graphics As Graphics, x As Integer, y As Integer, width As Integer, height As Integer, state As ButtonState)
参数
- x
- Int32
绘图矩形左上角的 x 坐标。
- y
- Int32
绘图矩形左上角的 y 坐标。
- width
- Int32
复选框的宽度。
- height
- Int32
复选框的高度。
- state
- ButtonState
指定要在其中绘制复选框的状态的值的 ButtonState 按位组合。