Dreamine.UI.Wpf.Controls 1.0.1
Dreamine.UI.Wpf.Controls 사용자 인터페이스 기능과 구성 요소를 제공합니다.
로딩중...
검색중...
일치하는것 없음
Dreamine.UI.Wpf.Controls.DreamineComboBox.DreamineComboBoxCommandContext 클래스 참조sealed

더 자세히 ...

Public 멤버 함수

 DreamineComboBoxCommandContext (string eventName, object? sender, object? args, ComboBox? combo)
override string ToString ()

속성

string EventName [get]
object? Sender [get]
object? EventArgs [get]
ComboBox? ComboBox [get]
object? SelectedItem [get]
object? SelectedValue [get]
int SelectedIndex [get]

상세한 설명

명시적 명령 매개변수가 없을 때 전달되는 콤보 상자 이벤트 스냅숏입니다.

DreamineComboBox.cs 파일의 42 번째 라인에서 정의되었습니다.

생성자 & 소멸자 문서화

◆ DreamineComboBoxCommandContext()

Dreamine.UI.Wpf.Controls.DreamineComboBox.DreamineComboBoxCommandContext.DreamineComboBoxCommandContext ( string eventName,
object? sender,
object? args,
ComboBox? combo )
inline

이벤트 정보와 현재 선택 상태로 명령 컨텍스트를 만듭니다.

매개변수
eventName트리거 이벤트 이름입니다. null이면 빈 문자열로 저장됩니다.
sender원래 이벤트 발신자입니다.
args원래 이벤트 데이터입니다.
combo선택 상태를 읽을 콤보 상자입니다.

DreamineComboBox.cs 파일의 154 번째 라인에서 정의되었습니다.

155 {
156 EventName = eventName ?? string.Empty;
157 Sender = sender;
158 EventArgs = args;
159 ComboBox = combo;
160
161 if (combo != null)
162 {
163 SelectedItem = combo.SelectedItem;
164 SelectedValue = combo.SelectedValue;
165 SelectedIndex = combo.SelectedIndex;
166 }
167 else
168 {
169 SelectedItem = null;
170 SelectedValue = null;
171 SelectedIndex = -1;
172 }
173 }

다음을 참조함 : ComboBox, EventArgs, EventName, SelectedIndex, SelectedItem, SelectedValue, Sender.

멤버 함수 문서화

◆ ToString()

override string Dreamine.UI.Wpf.Controls.DreamineComboBox.DreamineComboBoxCommandContext.ToString ( )
inline

이벤트와 선택 상태를 나타내는 진단 문자열을 반환합니다.

반환값
이벤트 이름, 선택 항목 및 선택 인덱스가 포함된 문자열입니다.

DreamineComboBox.cs 파일의 191 번째 라인에서 정의되었습니다.

192 => $"Event={EventName}, SelectedItem={SelectedItem ?? "(null)"}, SelectedIndex={SelectedIndex}";

속성 문서화

◆ ComboBox

ComboBox? Dreamine.UI.Wpf.Controls.DreamineComboBox.DreamineComboBoxCommandContext.ComboBox
get

이벤트와 연결된 콤보 상자 인스턴스를 가져옵니다.

DreamineComboBox.cs 파일의 82 번째 라인에서 정의되었습니다.

82{ get; }

다음에 의해서 참조됨 : DreamineComboBoxCommandContext().

◆ EventArgs

object? Dreamine.UI.Wpf.Controls.DreamineComboBox.DreamineComboBoxCommandContext.EventArgs
get

원래 이벤트 데이터를 가져옵니다.

DreamineComboBox.cs 파일의 72 번째 라인에서 정의되었습니다.

72{ get; }

다음에 의해서 참조됨 : DreamineComboBoxCommandContext().

◆ EventName

string Dreamine.UI.Wpf.Controls.DreamineComboBox.DreamineComboBoxCommandContext.EventName
get

명령 실행을 유발한 이벤트 이름을 가져옵니다.

DreamineComboBox.cs 파일의 52 번째 라인에서 정의되었습니다.

52{ get; }

다음에 의해서 참조됨 : DreamineComboBoxCommandContext().

◆ SelectedIndex

int Dreamine.UI.Wpf.Controls.DreamineComboBox.DreamineComboBoxCommandContext.SelectedIndex
get

컨텍스트 생성 당시 선택 인덱스를 가져옵니다.

DreamineComboBox.cs 파일의 112 번째 라인에서 정의되었습니다.

112{ get; }

다음에 의해서 참조됨 : DreamineComboBoxCommandContext().

◆ SelectedItem

object? Dreamine.UI.Wpf.Controls.DreamineComboBox.DreamineComboBoxCommandContext.SelectedItem
get

컨텍스트 생성 당시 선택 항목을 가져옵니다.

DreamineComboBox.cs 파일의 92 번째 라인에서 정의되었습니다.

92{ get; }

다음에 의해서 참조됨 : DreamineComboBoxCommandContext().

◆ SelectedValue

object? Dreamine.UI.Wpf.Controls.DreamineComboBox.DreamineComboBoxCommandContext.SelectedValue
get

컨텍스트 생성 당시 선택 값을 가져옵니다.

DreamineComboBox.cs 파일의 102 번째 라인에서 정의되었습니다.

102{ get; }

다음에 의해서 참조됨 : DreamineComboBoxCommandContext().

◆ Sender

object? Dreamine.UI.Wpf.Controls.DreamineComboBox.DreamineComboBoxCommandContext.Sender
get

원래 이벤트 발신자를 가져옵니다.

DreamineComboBox.cs 파일의 62 번째 라인에서 정의되었습니다.

62{ get; }

다음에 의해서 참조됨 : DreamineComboBoxCommandContext().


이 클래스에 대한 문서화 페이지는 다음의 파일로부터 생성되었습니다.: