C# Класс ComponentFactory.Krypton.Ribbon.KryptonRibbonGroupComboBox

Наследование: KryptonRibbonGroupItem
Показать файл Открыть проект Примеры использования класса

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