C# 클래스 SIL.FieldWorks.Common.Widgets.TreeCombo

TreeCombo is like a combo box except that it uses a PopupTree to display a hierarchy of options.

Only a minimum of Combo box features currently needed is implemented.

The key event is 'AfterSelect' which is triggered when an item in the popup tree is selected.

상속: FwComboBoxBase
파일 보기 프로젝트 열기: sillsdev/FieldWorks 1 사용 예제들

Private Properties

프로퍼티 타입 설명
GetFontOverrideInfo FontOverrideInfo
SetComboTextAndFocus void
m_button_KeyPress void
m_comboTextBox_KeyPress void
m_popupTree_BeforeSelect void
m_popupTree_PopupTreeClosed void
m_tree_AfterSelect void
m_tree_Load void

공개 메소드들

메소드 설명
SetComboText ( TreeNode node ) : void

Sets the text but doesn't cause a focus.

TreeCombo ( ) : System

Construct one.

보호된 메소드들

메소드 설명
CreateDropDownBox ( ) : IDropDownBox

Creates the drop down box.

Dispose ( bool disposing ) : void

Clean up any resources being used.

비공개 메소드들

메소드 설명
GetFontOverrideInfo ( string source, int wsTreeCombo ) : FontOverrideInfo
SetComboTextAndFocus ( TreeNode node ) : void

Sets the text and focuses the control FWNX-270: renamed from SetComboText to make it clear that this method causes a focus

m_button_KeyPress ( object sender, KeyPressEventArgs e ) : void
m_comboTextBox_KeyPress ( object sender, KeyPressEventArgs e ) : void

Handle a key press in the combo box. Enable type-ahead to select list items (LT-2190).

m_popupTree_BeforeSelect ( object sender, System.Windows.Forms.TreeViewCancelEventArgs e ) : void
m_popupTree_PopupTreeClosed ( object sender, TreeViewEventArgs e ) : void
m_tree_AfterSelect ( object sender, TreeViewEventArgs e ) : void
m_tree_Load ( object sender, EventArgs e ) : void

메소드 상세

CreateDropDownBox() 보호된 메소드

Creates the drop down box.
protected CreateDropDownBox ( ) : IDropDownBox
리턴 IDropDownBox

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

SetComboText() 공개 메소드

Sets the text but doesn't cause a focus.
public SetComboText ( TreeNode node ) : void
node System.Windows.Forms.TreeNode
리턴 void

TreeCombo() 공개 메소드

Construct one.
public TreeCombo ( ) : System
리턴 System