C# 클래스 ComponentFactory.Krypton.Ribbon.KryptonRibbonGroupComboBox

상속: KryptonRibbonGroupItem
파일 보기 프로젝트 열기: ComponentFactory/Krypton 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateView ViewBase
MonitorControl void
OnComboBoxDataSourceChanged void
OnComboBoxDisplayMemberChanged void
OnComboBoxDropDown void
OnComboBoxDropDownClosed void
OnComboBoxDropDownStyleChanged void
OnComboBoxFormat void
OnComboBoxFormatInfoChanged void
OnComboBoxFormatStringChanged void
OnComboBoxFormattingEnabledChanged void
OnComboBoxGotFocus void
OnComboBoxKeyDown void
OnComboBoxKeyPress void
OnComboBoxKeyUp void
OnComboBoxLostFocus void
OnComboBoxPreviewKeyDown void
OnComboBoxSelectedIndexChanged void
OnComboBoxSelectedValueChanged void
OnComboBoxSelectionChangeCommitted void
OnComboBoxTextUpdate void
OnComboBoxValueMemberChanged void
OnControlEnter void
OnControlLeave void
OnDesignTimeContextMenu void
OnPaletteNeedPaint void
OnRibbonPaletteChanged void
ProcessCmdKey bool
ShouldSerializeComboBoxDesigner bool
ShouldSerializeShortcutKeys bool
UnmonitorControl void

공개 메소드들

메소드 설명
FindString ( string str ) : int

Finds the first item in the combo box that starts with the specified string.

FindString ( string str, int startIndex ) : int

Finds the first item after the given index which starts with the given string. The search is not case sensitive.

FindStringExact ( string str ) : int

Finds the first item in the combo box that matches the specified string.

FindStringExact ( string str, int startIndex ) : int

Finds the first item after the specified index that matches the specified string.

GetItemHeight ( int index ) : int

Returns the height of an item in the ComboBox.

GetItemText ( object item ) : string

Returns the text representation of the specified item.

Hide ( ) : void

Make the ribbon group hidden.

KryptonRibbonGroupComboBox ( ) : System

Initialise a new instance of the KryptonRibbonGroupComboBox class.

ResetShortcutKeys ( ) : void

Resets the ShortcutKeys property to its default value.

Select ( int start, int length ) : void

Selects a range of text in the control.

SelectAll ( ) : void

Selects all text in the control.

Show ( ) : void

Make the ribbon group visible.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Clean up any resources being used.

OnDataSourceChanged ( EventArgs e ) : void

Raises the DataSourceChanged event.

OnDisplayMemberChanged ( EventArgs e ) : void

Raises the DisplayMemberChanged event.

OnDropDown ( EventArgs e ) : void

Raises the DropDown event.

OnDropDownClosed ( EventArgs e ) : void

Raises the DropDownClosed event.

OnDropDownStyleChanged ( EventArgs e ) : void

Raises the DropDownStyleChanged event.

OnFormat ( EventArgs e ) : void

Raises the Format event.

OnFormatInfoChanged ( EventArgs e ) : void

Raises the FormatInfoChanged event.

OnFormatStringChanged ( EventArgs e ) : void

Raises the FormatStringChanged event.

OnFormattingEnabledChanged ( EventArgs e ) : void

Raises the FormattingEnabledChanged event.

OnGotFocus ( EventArgs e ) : void

Raises the GotFocus event.

OnKeyDown ( KeyEventArgs e ) : void

Raises the KeyDown event.

OnKeyPress ( KeyPressEventArgs e ) : void

Raises the KeyPress event.

OnKeyUp ( KeyEventArgs e ) : void

Raises the KeyUp event.

OnLostFocus ( EventArgs e ) : void

Raises the LostFocus event.

OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void

Raises the PreviewKeyDown event.

OnPropertyChanged ( string propertyName ) : void

Raises the PropertyChanged event.

OnSelectedIndexChanged ( EventArgs e ) : void

Raises the SelectedIndexChanged event.

OnSelectedValueChanged ( EventArgs e ) : void

Raises the SelectedValueChanged event.

OnSelectionChangeCommitted ( EventArgs e ) : void

Raises the SelectionChangeCommitted event.

OnTextUpdate ( EventArgs e ) : void

Raises the TextUpdate event.

OnValueMemberChanged ( EventArgs e ) : void

Raises the ValueMemberChanged event.

비공개 메소드들

메소드 설명
CreateView ( KryptonRibbon ribbon, NeedPaintHandler needPaint ) : ViewBase
MonitorControl ( KryptonComboBox c ) : void
OnComboBoxDataSourceChanged ( object sender, EventArgs e ) : void
OnComboBoxDisplayMemberChanged ( object sender, EventArgs e ) : void
OnComboBoxDropDown ( object sender, EventArgs e ) : void
OnComboBoxDropDownClosed ( object sender, EventArgs e ) : void
OnComboBoxDropDownStyleChanged ( object sender, EventArgs e ) : void
OnComboBoxFormat ( object sender, System.Windows.Forms.ListControlConvertEventArgs e ) : void
OnComboBoxFormatInfoChanged ( object sender, EventArgs e ) : void
OnComboBoxFormatStringChanged ( object sender, EventArgs e ) : void
OnComboBoxFormattingEnabledChanged ( object sender, EventArgs e ) : void
OnComboBoxGotFocus ( object sender, EventArgs e ) : void
OnComboBoxKeyDown ( object sender, KeyEventArgs e ) : void
OnComboBoxKeyPress ( object sender, KeyPressEventArgs e ) : void
OnComboBoxKeyUp ( object sender, KeyEventArgs e ) : void
OnComboBoxLostFocus ( object sender, EventArgs e ) : void
OnComboBoxPreviewKeyDown ( object sender, PreviewKeyDownEventArgs e ) : void
OnComboBoxSelectedIndexChanged ( object sender, EventArgs e ) : void
OnComboBoxSelectedValueChanged ( object sender, EventArgs e ) : void
OnComboBoxSelectionChangeCommitted ( object sender, EventArgs e ) : void
OnComboBoxTextUpdate ( object sender, EventArgs e ) : void
OnComboBoxValueMemberChanged ( object sender, EventArgs e ) : void
OnControlEnter ( object sender, EventArgs e ) : void
OnControlLeave ( object sender, EventArgs e ) : void
OnDesignTimeContextMenu ( MouseEventArgs e ) : void
OnPaletteNeedPaint ( object sender, NeedLayoutEventArgs e ) : void
OnRibbonPaletteChanged ( object sender, EventArgs e ) : void
ProcessCmdKey ( Message &msg, Keys keyData ) : bool
ShouldSerializeComboBoxDesigner ( ) : bool
ShouldSerializeShortcutKeys ( ) : bool
UnmonitorControl ( KryptonComboBox c ) : void

메소드 상세

Dispose() 보호된 메소드

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
리턴 void

FindString() 공개 메소드

Finds the first item in the combo box that starts with the specified string.
public FindString ( string str ) : int
str string The String to search for.
리턴 int

FindString() 공개 메소드

Finds the first item after the given index which starts with the given string. The search is not case sensitive.
public FindString ( string str, int startIndex ) : int
str string The String to search for.
startIndex int The zero-based index of the item before the first item to be searched. Set to -1 to search from the beginning of the control.
리턴 int

FindStringExact() 공개 메소드

Finds the first item in the combo box that matches the specified string.
public FindStringExact ( string str ) : int
str string The String to search for.
리턴 int

FindStringExact() 공개 메소드

Finds the first item after the specified index that matches the specified string.
public FindStringExact ( string str, int startIndex ) : int
str string The String to search for.
startIndex int The zero-based index of the item before the first item to be searched. Set to -1 to search from the beginning of the control.
리턴 int

GetItemHeight() 공개 메소드

Returns the height of an item in the ComboBox.
public GetItemHeight ( int index ) : int
index int The index of the item to return the height of.
리턴 int

GetItemText() 공개 메소드

Returns the text representation of the specified item.
public GetItemText ( object item ) : string
item object The object from which to get the contents to display.
리턴 string

Hide() 공개 메소드

Make the ribbon group hidden.
public Hide ( ) : void
리턴 void

KryptonRibbonGroupComboBox() 공개 메소드

Initialise a new instance of the KryptonRibbonGroupComboBox class.
public KryptonRibbonGroupComboBox ( ) : System
리턴 System

OnDataSourceChanged() 보호된 메소드

Raises the DataSourceChanged event.
protected OnDataSourceChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnDisplayMemberChanged() 보호된 메소드

Raises the DisplayMemberChanged event.
protected OnDisplayMemberChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnDropDown() 보호된 메소드

Raises the DropDown event.
protected OnDropDown ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnDropDownClosed() 보호된 메소드

Raises the DropDownClosed event.
protected OnDropDownClosed ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnDropDownStyleChanged() 보호된 메소드

Raises the DropDownStyleChanged event.
protected OnDropDownStyleChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnFormat() 보호된 메소드

Raises the Format event.
protected OnFormat ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnFormatInfoChanged() 보호된 메소드

Raises the FormatInfoChanged event.
protected OnFormatInfoChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnFormatStringChanged() 보호된 메소드

Raises the FormatStringChanged event.
protected OnFormatStringChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnFormattingEnabledChanged() 보호된 메소드

Raises the FormattingEnabledChanged event.
protected OnFormattingEnabledChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnGotFocus() 보호된 메소드

Raises the GotFocus event.
protected OnGotFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnKeyDown() 보호된 메소드

Raises the KeyDown event.
protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs An KeyEventArgs containing the event data.
리턴 void

OnKeyPress() 보호된 메소드

Raises the KeyPress event.
protected OnKeyPress ( KeyPressEventArgs e ) : void
e System.Windows.Forms.KeyPressEventArgs An KeyPressEventArgs containing the event data.
리턴 void

OnKeyUp() 보호된 메소드

Raises the KeyUp event.
protected OnKeyUp ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs An KeyEventArgs containing the event data.
리턴 void

OnLostFocus() 보호된 메소드

Raises the LostFocus event.
protected OnLostFocus ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnPreviewKeyDown() 보호된 메소드

Raises the PreviewKeyDown event.
protected OnPreviewKeyDown ( PreviewKeyDownEventArgs e ) : void
e System.Windows.Forms.PreviewKeyDownEventArgs An PreviewKeyDownEventArgs containing the event data.
리턴 void

OnPropertyChanged() 보호된 메소드

Raises the PropertyChanged event.
protected OnPropertyChanged ( string propertyName ) : void
propertyName string Name of property that has changed.
리턴 void

OnSelectedIndexChanged() 보호된 메소드

Raises the SelectedIndexChanged event.
protected OnSelectedIndexChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnSelectedValueChanged() 보호된 메소드

Raises the SelectedValueChanged event.
protected OnSelectedValueChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnSelectionChangeCommitted() 보호된 메소드

Raises the SelectionChangeCommitted event.
protected OnSelectionChangeCommitted ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnTextUpdate() 보호된 메소드

Raises the TextUpdate event.
protected OnTextUpdate ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

OnValueMemberChanged() 보호된 메소드

Raises the ValueMemberChanged event.
protected OnValueMemberChanged ( EventArgs e ) : void
e System.EventArgs An EventArgs containing the event data.
리턴 void

ResetShortcutKeys() 공개 메소드

Resets the ShortcutKeys property to its default value.
public ResetShortcutKeys ( ) : void
리턴 void

Select() 공개 메소드

Selects a range of text in the control.
public Select ( int start, int length ) : void
start int The position of the first character in the current text selection within the text box.
length int The number of characters to select.
리턴 void

SelectAll() 공개 메소드

Selects all text in the control.
public SelectAll ( ) : void
리턴 void

Show() 공개 메소드

Make the ribbon group visible.
public Show ( ) : void
리턴 void