ControlPaint.DrawScrollButton 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
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)
매개 변수
- 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)
매개 변수
- x
- Int32
그리기 사각형의 왼쪽 위 모퉁이의 x좌표입니다.
- y
- Int32
그리기 사각형의 왼쪽 위 모퉁이의 y좌표입니다.
- width
- Int32
스크롤 단추의 너비입니다.
- height
- Int32
스크롤 단추의 높이입니다.
- button
- ScrollButton
그릴 스크롤 화살표의 유형을 지정하는 ScrollButton 값 중 하나입니다.
- state
- ButtonState
스크롤 단추를 그리기 위한 상태를 지정하는 ButtonState 값의 비트 조합입니다.
추가 정보
적용 대상
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET