ScrollBarRenderer.DrawSizeBox 메서드

정의

비주얼 스타일을 사용하여 스크롤 막대 크기 조정 핸들을 그립니다.

public:
 static void DrawSizeBox(System::Drawing::Graphics ^ g, System::Drawing::Rectangle bounds, System::Windows::Forms::VisualStyles::ScrollBarSizeBoxState state);
public static void DrawSizeBox (System.Drawing.Graphics g, System.Drawing.Rectangle bounds, System.Windows.Forms.VisualStyles.ScrollBarSizeBoxState state);
static member DrawSizeBox : System.Drawing.Graphics * System.Drawing.Rectangle * System.Windows.Forms.VisualStyles.ScrollBarSizeBoxState -> unit
Public Shared Sub DrawSizeBox (g As Graphics, bounds As Rectangle, state As ScrollBarSizeBoxState)

매개 변수

g
Graphics

크기 조정 핸들을 그리는 데 사용되는 Graphics입니다.

bounds
Rectangle

크기 조정 핸들의 범위를 지정하는 Rectangle입니다.

state
ScrollBarSizeBoxState

크기 조정 핸들의 표시 상태를 지정하는 ScrollBarSizeBoxState 값 중 하나입니다.

예외

운영 체제에서 비주얼 스타일을 지원하지 않는 경우

또는

운영 체제에서 사용자가 비주얼 스타일을 사용하지 않도록 설정한 경우

또는

비주얼 스타일이 애플리케이션 창의 클라이언트 영역에 적용되지 않은 경우

설명

이 메서드를 사용 하기 전에 있는지 확인 해야 합니다 IsSupported 속성이 반환 true합니다.

적용 대상