|
Dreamine.UI.WinForms 1.0.1
Dreamine.UI.WinForms 사용자 인터페이스 기능과 구성 요소를 제공합니다.
|


Public 멤버 함수 | |
| DreamineButton () | |
Protected 멤버 함수 | |
| override void | OnMouseEnter (EventArgs e) |
| override void | OnMouseLeave (EventArgs e) |
| override void | OnMouseDown (MouseEventArgs e) |
| override void | OnMouseUp (MouseEventArgs e) |
| override void | OnPaint (PaintEventArgs e) |
속성 | |
| string | Content [get, set] |
| Color | ShineColor [get, set] |
| Color | BorderColor [get, set] |
| int | CornerRadius [get, set] |
| bool | IsSelected [get, set] |
| ICommand? | Command [get, set] |
| object? | CommandParameter [get, set] |
Private 멤버 함수 | |
| void | ExecuteCommand () |
| Color | GetEffectiveParentBackColor () |
Private 속성 | |
| bool | _isHover |
| bool | _isPressed |
| string | _content = string.Empty |
| Color | _shineColor = Color.Empty |
| Color | _borderColor = DreamineTheme.BorderNormal |
| int | _cornerRadius = DreamineTheme.CornerRadius |
| bool | _isSelected |
둥근 모서리, 광택, 선택 상태 및 명령 실행을 지원하는 Dreamine WinForms 버튼입니다.
DreamineButton.cs 파일의 16 번째 라인에서 정의되었습니다.
|
inline |
사용자 지정 그리기 스타일과 Dreamine 테마 기본값을 구성합니다.
DreamineButton.cs 파일의 181 번째 라인에서 정의되었습니다.
다음을 참조함 : Dreamine.UI.WinForms.DreamineTheme.NavBackground, Dreamine.UI.WinForms.DreamineTheme.TextPrimary.
|
inlineprivate |
명령이 현재 매개변수로 실행 가능하면 명령을 호출합니다.
DreamineButton.cs 파일의 300 번째 라인에서 정의되었습니다.
다음을 참조함 : Command, CommandParameter.
다음에 의해서 참조됨 : OnMouseUp().

|
inlineprivate |
둥근 모서리 밖을 채울 첫 번째 불투명 조상 배경색을 찾습니다.
DreamineButton.cs 파일의 322 번째 라인에서 정의되었습니다.
다음을 참조함 : Dreamine.UI.WinForms.DreamineTheme.AppBackground.
다음에 의해서 참조됨 : OnPaint().

|
inlineprotected |
왼쪽 버튼 누름 상태를 기록합니다.
| e | 마우스 버튼 이벤트 인수입니다. |
DreamineButton.cs 파일의 259 번째 라인에서 정의되었습니다.
다음을 참조함 : _isPressed.
|
inlineprotected |
포인터 진입 상태를 기록하고 다시 그리도록 요청합니다.
| e | 마우스 이벤트 인수입니다. |
DreamineButton.cs 파일의 214 번째 라인에서 정의되었습니다.
다음을 참조함 : _isHover.
|
inlineprotected |
포인터와 누름 상태를 해제하고 다시 그리도록 요청합니다.
| e | 마우스 이벤트 인수입니다. |
DreamineButton.cs 파일의 236 번째 라인에서 정의되었습니다.
다음을 참조함 : _isHover, _isPressed.
|
inlineprotected |
왼쪽 버튼을 컨트롤 안에서 놓으면 연결된 명령을 실행합니다.
| e | 마우스 버튼 이벤트 인수입니다. |
DreamineButton.cs 파일의 280 번째 라인에서 정의되었습니다.
다음을 참조함 : _isPressed, ExecuteCommand().

|
inlineprotected |
현재 호버, 누름 및 선택 상태에 맞게 버튼 배경, 테두리, 광택과 텍스트를 그립니다.
| e | 컨트롤 그리기 이벤트 인수입니다. |
DreamineButton.cs 파일의 349 번째 라인에서 정의되었습니다.
다음을 참조함 : _borderColor, _content, _cornerRadius, _isHover, _isPressed, _isSelected, _shineColor, Dreamine.UI.WinForms.DreamineTheme.AccentBlue, Dreamine.UI.WinForms.DreamineDrawHelper.Blend(), Dreamine.UI.WinForms.DreamineTheme.BorderFocus, Dreamine.UI.WinForms.DreamineDrawHelper.DrawCenteredText(), Dreamine.UI.WinForms.DreamineDrawHelper.DrawShineOverlay(), Dreamine.UI.WinForms.DreamineDrawHelper.FillRoundedGradient(), GetEffectiveParentBackColor(), Dreamine.UI.WinForms.DreamineTheme.HoverOverlay, Dreamine.UI.WinForms.DreamineTheme.PressOverlay, Dreamine.UI.WinForms.DreamineTheme.TextSecondary.

|
private |
|
private |
|
private |
|
private |
is Hover 값을 보관합니다.
DreamineButton.cs 파일의 26 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : OnMouseEnter(), OnMouseLeave(), OnPaint().
|
private |
is Pressed 값을 보관합니다.
DreamineButton.cs 파일의 35 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : OnMouseDown(), OnMouseLeave(), OnMouseUp(), OnPaint().
|
private |
|
private |
|
getset |
기본 테두리 색상을 가져오거나 설정합니다.
DreamineButton.cs 파일의 101 번째 라인에서 정의되었습니다.
|
getset |
유효한 클릭 후 실행할 명령을 가져오거나 설정합니다.
DreamineButton.cs 파일의 161 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ExecuteCommand().
|
getset |
명령의 실행 가능 여부 확인과 실행에 전달할 매개변수를 가져오거나 설정합니다.
DreamineButton.cs 파일의 170 번째 라인에서 정의되었습니다.
다음에 의해서 참조됨 : ExecuteCommand().
|
getset |
버튼에 표시할 텍스트 콘텐츠를 가져오거나 설정합니다.
DreamineButton.cs 파일의 55 번째 라인에서 정의되었습니다.
|
getset |
버튼 모서리 반지름을 가져오거나 설정합니다.
DreamineButton.cs 파일의 124 번째 라인에서 정의되었습니다.
|
getset |
버튼이 선택 상태로 강조되는지 여부를 가져오거나 설정합니다.
DreamineButton.cs 파일의 147 번째 라인에서 정의되었습니다.
|
getset |
상단 광택 오버레이 색상을 가져오거나 설정합니다.
DreamineButton.cs 파일의 78 번째 라인에서 정의되었습니다.