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 값의 비트 조합입니다.
추가 정보
적용 대상
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기