Method | Description | |
---|---|---|
BeginUpdate ( ) : void |
Maintains performance while items are added to the ListBox one at a time by preventing the control from drawing until the EndUpdate method is called.
|
|
ClearSelected ( ) : void |
Unselects all items in the KryptonListBox.
|
|
EndUpdate ( ) : void |
Resumes painting the ListBox control after painting is suspended by the BeginUpdate method.
|
|
FindString ( string str ) : int |
Finds the first item in the list 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 list 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.
|
|
Focus ( ) : bool |
Sets input focus to the control.
|
|
GetItemHeight ( int index ) : int |
Returns the height of an item in the KryptonListBox.
|
|
GetItemRectangle ( int index ) : |
Returns the bounding rectangle for an item in the KryptonListBox.
|
|
GetItemText ( object item ) : string |
Returns the text representation of the specified item.
|
|
GetSelected ( int index ) : bool |
Returns a value indicating whether the specified item is selected.
|
|
IndexFromPoint ( Point p ) : int |
Returns the zero-based index of the item at the specified coordinates.
|
|
IndexFromPoint ( int x, int y ) : int |
Returns the zero-based index of the item at the specified coordinates.
|
|
KryptonListBox ( ) : System |
Initialize a new instance of the KryptonListBox class.
|
|
Select ( ) : void |
Activates the control.
|
|
SetFixedState ( bool active ) : void |
Sets the fixed state of the control.
|
|
SetSelected ( int index, bool value ) : void |
Selects or clears the selection for the specified item in a KryptonListBox.
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases all resources used by the Control.
|
|
ForceControlLayout ( ) : void |
Force the layout logic to size and position the controls.
|
|
OnBackColorChanged ( |
Raises the BackColorChanged event.
|
|
OnBackgroundImageChanged ( |
Raises the BackgroundImageChanged event.
|
|
OnBackgroundImageLayoutChanged ( |
Raises the BackgroundImageLayoutChanged event.
|
|
OnCausesValidationChanged ( |
Raises the CausesValidationChanged event.
|
|
OnDataSourceChanged ( |
Raises the DataSourceChanged event.
|
|
OnDisplayMemberChanged ( |
Raises the DisplayMemberChanged event.
|
|
OnEnabledChanged ( |
Raises the EnabledChanged event.
|
|
OnForeColorChanged ( |
Raises the ForeColorChanged event.
|
|
OnFormat ( System.Windows.Forms.ListControlConvertEventArgs e ) : void |
Raises the Format event.
|
|
OnFormatInfoChanged ( |
Raises the FormatInfoChanged event.
|
|
OnFormatStringChanged ( |
Raises the FormatStringChanged event.
|
|
OnFormattingEnabledChanged ( |
Raises the FormattingEnabledChanged event.
|
|
OnHandleCreated ( |
Raises the HandleCreated event.
|
|
OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void |
Raises the Layout event.
|
|
OnMouseEnter ( |
Raises the MouseEnter event.
|
|
OnMouseLeave ( |
Raises the MouseLeave event.
|
|
OnNeedPaint ( object sender, |
Processes a notification from palette storage of a paint and optional layout required.
|
|
OnPaddingChanged ( |
Raises the PaddingChanged event.
|
|
OnPaint ( PaintEventArgs e ) : void |
Raises the Paint event.
|
|
OnPaletteChanged ( |
Raises the PaletteChanged event.
|
|
OnPaletteNeedPaint ( object sender, |
Processes a notification from palette of a paint and optional layout required.
|
|
OnSelectedIndexChanged ( |
Raises the SelectedIndexChanged event.
|
|
OnSelectedValueChanged ( |
Raises the SelectedValueChanged event.
|
|
OnTabStopChanged ( |
Raises the TabStop event.
|
|
OnTextChanged ( |
Raises the TextChanged event.
|
|
OnTrackMouseEnter ( |
Raises the TrackMouseEnter event.
|
|
OnTrackMouseLeave ( |
Raises the TrackMouseLeave event.
|
|
OnValueMemberChanged ( |
Raises the ValueMemberChanged event.
|
Method | Description | |
---|---|---|
CreateControlsInstance ( ) : |
||
GetDoubleState ( ) : IPaletteDouble | ||
OnListBoxDataSourceChanged ( object sender, |
||
OnListBoxDisplayMemberChanged ( object sender, |
||
OnListBoxDrawItem ( object sender, |
||
OnListBoxFormat ( object sender, System.Windows.Forms.ListControlConvertEventArgs e ) : void | ||
OnListBoxFormatInfoChanged ( object sender, |
||
OnListBoxFormatStringChanged ( object sender, |
||
OnListBoxFormattingEnabledChanged ( object sender, |
||
OnListBoxGotFocus ( object sender, |
||
OnListBoxKeyDown ( object sender, |
||
OnListBoxKeyPress ( object sender, |
||
OnListBoxKeyUp ( object sender, |
||
OnListBoxLostFocus ( object sender, |
||
OnListBoxMeasureItem ( object sender, System.Windows.Forms.MeasureItemEventArgs e ) : void | ||
OnListBoxMouseChange ( object sender, |
||
OnListBoxPreviewKeyDown ( object sender, |
||
OnListBoxSelectedIndexChanged ( object sender, |
||
OnListBoxSelectedValueChanged ( object sender, |
||
OnListBoxValidated ( object sender, |
||
OnListBoxValidating ( object sender, CancelEventArgs e ) : void | ||
OnListBoxValueMemberChanged ( object sender, |
||
ResetBackStyle ( ) : void | ||
ResetBorderStyle ( ) : void | ||
ResetItemStyle ( ) : void | ||
SelectedIndicesChanged ( int left, |
||
ShouldSerializeBackStyle ( ) : bool | ||
ShouldSerializeBorderStyle ( ) : bool | ||
ShouldSerializeItemStyle ( ) : bool | ||
ShouldSerializeOverrideFocus ( ) : bool | ||
ShouldSerializeStateActive ( ) : bool | ||
ShouldSerializeStateCheckedNormal ( ) : bool | ||
ShouldSerializeStateCheckedPressed ( ) : bool | ||
ShouldSerializeStateCheckedTracking ( ) : bool | ||
ShouldSerializeStateCommon ( ) : bool | ||
ShouldSerializeStateDisabled ( ) : bool | ||
ShouldSerializeStateNormal ( ) : bool | ||
ShouldSerializeStatePressed ( ) : bool | ||
ShouldSerializeStateTracking ( ) : bool | ||
UpdateContentFromItemIndex ( int index ) : void | ||
UpdateStateAndPalettes ( ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
return | void |
public FindString ( string str ) : int | ||
str | string | The String to search for. |
return | int |
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. |
return | int |
public FindStringExact ( string str ) : int | ||
str | string | The String to search for. |
return | int |
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. |
return | int |
public GetItemHeight ( int index ) : int | ||
index | int | The index of the item to return the height of. |
return | int |
public GetItemRectangle ( int index ) : |
||
index | int | The zero-based index of item whose bounding rectangle you want to return. |
return |
public GetItemText ( object item ) : string | ||
item | object | The object from which to get the contents to display. |
return | string |
public GetSelected ( int index ) : bool | ||
index | int | The zero-based index of the item that determines whether it is selected. |
return | bool |
public IndexFromPoint ( Point p ) : int | ||
p | Point | A Point object containing the coordinates used to obtain the item index. |
return | int |
public IndexFromPoint ( int x, int y ) : int | ||
x | int | The x-coordinate of the location to search. |
y | int | The y-coordinate of the location to search. |
return | int |
protected OnBackColorChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnBackgroundImageChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnBackgroundImageLayoutChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnCausesValidationChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnDataSourceChanged ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnDisplayMemberChanged ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnEnabledChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnForeColorChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnFormat ( System.Windows.Forms.ListControlConvertEventArgs e ) : void | ||
e | System.Windows.Forms.ListControlConvertEventArgs | An EventArgs containing the event data. |
return | void |
protected OnFormatInfoChanged ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnFormatStringChanged ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnFormattingEnabledChanged ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnHandleCreated ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnLayout ( System.Windows.Forms.LayoutEventArgs levent ) : void | ||
levent | System.Windows.Forms.LayoutEventArgs | An EventArgs that contains the event data. |
return | void |
protected OnMouseEnter ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnMouseLeave ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnNeedPaint ( object sender, |
||
sender | object | Source of notification. |
e | An NeedLayoutEventArgs containing event data. | |
return | void |
protected OnPaddingChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnPaint ( PaintEventArgs e ) : void | ||
e | PaintEventArgs | An PaintEventArgs that contains the event data. |
return | void |
protected OnPaletteChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnPaletteNeedPaint ( object sender, |
||
sender | object | Source of notification. |
e | An NeedLayoutEventArgs containing event data. | |
return | void |
protected OnSelectedIndexChanged ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnSelectedValueChanged ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnTabStopChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnTextChanged ( |
||
e | An EventArgs that contains the event data. | |
return | void |
protected OnTrackMouseEnter ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnTrackMouseLeave ( |
||
e | An EventArgs containing the event data. | |
return | void |
protected OnValueMemberChanged ( |
||
e | An EventArgs containing the event data. | |
return | void |
public SetFixedState ( bool active ) : void | ||
active | bool | Should the control be fixed as active. |
return | void |
public SetSelected ( int index, bool value ) : void | ||
index | int | The zero-based index of the item in a KryptonListBox to select or clear the selection for. |
value | bool | true to select the specified item; otherwise, false. |
return | void |