SystemPens.GradientInactiveCaption 속성
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
비활성 창 제목 표시줄의 색 그라데이션에서 가장 옅은 색인 Pen을 가져옵니다.
public:
static property System::Drawing::Pen ^ GradientInactiveCaption { System::Drawing::Pen ^ get(); };
public static System.Drawing.Pen GradientInactiveCaption { get; }
static member GradientInactiveCaption : System.Drawing.Pen
Public Shared ReadOnly Property GradientInactiveCaption As Pen
속성 값
비활성 창 제목 표시줄의 색 그라데이션에서 가장 옅은 색인 Pen입니다.
예제
다음 코드 예제를 사용 하는 방법에 설명 합니다 GradientInactiveCaption 속성입니다. 이 예제를 실행 하려면 Windows 폼에 붙여 넣습니다. 양식의 처리 Paint 이벤트 및 호출 합니다 DrawWithGradientInactiveCaptionPen 메서드에서 Paint 전달 하는 이벤트 처리 메서드를 e 으로 PaintEventArgs입니다.
private void DrawWithGradientInactiveCaptionPen(PaintEventArgs e)
{
Rectangle rectangle1 = new Rectangle(10, 10, 100, 100);
e.Graphics.DrawRectangle(SystemPens.GradientInactiveCaption, rectangle1);
}
Private Sub DrawWithGradientInactiveCaptionPen(ByVal e As PaintEventArgs)
Dim rectangle1 As New Rectangle(10, 10, 100, 100)
e.Graphics.DrawRectangle(SystemPens.GradientInactiveCaption, rectangle1)
End Sub