語言

ControlPaint.DrawScrollButton 方法

定義

在滾動條控制上畫一個捲動按鈕。

多載

名稱 Description
DrawScrollButton(Graphics, Rectangle, ScrollButton, ButtonState)

在指定狀態、圖形表面及範圍內,繪製滾動條控制項上的指定滾動按鈕。

DrawScrollButton(Graphics, Int32, Int32, Int32, Int32, ScrollButton, ButtonState)

在指定狀態、圖形表面及範圍內,繪製滾動條控制項上的指定滾動按鈕。

DrawScrollButton(Graphics, Rectangle, ScrollButton, ButtonState)

來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs

在指定狀態、圖形表面及範圍內,繪製滾動條控制項上的指定滾動按鈕。

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

參數

graphics
Graphics

可以 Graphics 參考的。

rectangle
Rectangle

那 Rectangle 代表字形的尺寸。

button
ScrollButton

ScrollButton其中一個數值是指定要畫哪種捲軸箭頭的。

state
ButtonState

一個位元組合 ButtonState 的數值,指定要繪製滾動按鈕的狀態。

另請參閱

適用於

DrawScrollButton(Graphics, Int32, Int32, Int32, Int32, ScrollButton, ButtonState)

來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs
來源:
ControlPaint.cs

在指定狀態、圖形表面及範圍內,繪製滾動條控制項上的指定滾動按鈕。

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

參數

graphics
Graphics

可以 Graphics 參考的。

x
Int32

圖紙矩形左上角的 x 座標。

y
Int32

圖紙矩形左上角的 y 座標。

width
Int32

滾動按鈕的寬度。

height
Int32

捲軸按鈕的高度。

button
ScrollButton

ScrollButton其中一個數值是指定要畫哪種捲軸箭頭的。

state
ButtonState

一個位元組合 ButtonState 的數值,指定要繪製滾動按鈕的狀態。

另請參閱

適用於