ControlPaint.DrawScrollButton 메서드

정의

Scroll Bar 컨트롤에 스크롤 단추를 그립니다.

오버로드

DrawScrollButton(Graphics, Rectangle, ScrollButton, ButtonState)

지정된 그래픽 표면의 지정된 범위 내에 지정된 상태로 Scroll Bar 컨트롤의 지정된 스크롤 단추를 그립니다.

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

지정된 그래픽 표면의 지정된 범위 내에 지정된 상태로 Scroll Bar 컨트롤의 지정된 스크롤 단추를 그립니다.

DrawScrollButton(Graphics, Rectangle, ScrollButton, ButtonState)

지정된 그래픽 표면의 지정된 범위 내에 지정된 상태로 Scroll Bar 컨트롤의 지정된 스크롤 단추를 그립니다.

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)

지정된 그래픽 표면의 지정된 범위 내에 지정된 상태로 Scroll Bar 컨트롤의 지정된 스크롤 단추를 그립니다.

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 값의 비트 조합입니다.

추가 정보

적용 대상