ListBox Methods

Methods

_IsTopBound
(Inherited from ControlBase)
AccessibilityNotifyClients(AccessibleEvents, Int32)Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
(Inherited from Control)
AccessibilityNotifyClients(AccessibleEvents, Int32, Int32)Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control .
(Inherited from Control)
AddBindingEvent(String, FuncBoolean, ActionBoolean, BindingEventHandlerBooleanBindingEventArgs)
(Inherited from ControlBase)
AddBindingEvent(String, FuncColor, ActionColor, BindingEventHandlerColorBindingEventArgs)
(Inherited from ControlBase)
AddBindingEvent(String, FuncFont, ActionFont, BindingEventHandlerFontBindingEventArgs)
(Inherited from ControlBase)
AddBindingEvent(String, FuncInt32, ActionInt32, BindingEventHandlerIntBindingEventArgs)
(Inherited from ControlBase)
AddBindingEvent(String, FuncString, ActionString, BindingEventHandlerStringBindingEventArgs)
(Inherited from ControlBase)
AddBindingEvent(String, FuncContextMenuStrip, ActionContextMenuStrip, BindingEventHandlerContextMenuStripBindingEventArgs)
(Inherited from ControlBase)
AddCustomBindT
(Inherited from ControlBase)
BeginInvoke(Delegate)Executes the specified delegate asynchronously on the thread that the control's underlying handle was created on.
(Inherited from Control)
BeginInvoke(Delegate, Object)Executes the specified delegate asynchronously with the specified arguments, on the thread that the control's underlying handle was created on.
(Inherited from Control)
BringToFrontBrings the control to the front of the z-order.
(Inherited from Control)
ContainsRetrieves a value indicating whether the specified control is a child of the control.
(Inherited from Control)
CreateAccessibilityInstanceCreates a new accessibility object for the control.
(Inherited from Control)
CreateControlForces the creation of the visible control, including the creation of the handle and any visible child controls.
(Inherited from Control)
CreateControlsInstanceCreates a new instance of the control collection for the control.
(Inherited from Control)
CreateGraphicsCreates the Graphics for the control.
(Inherited from Control)
CreateHandleCreates a handle for the control.
(Inherited from ControlBase)
CreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
DefWndProcSends the specified message to the default window procedure.
(Inherited from Control)
DestroyHandleDestroys the handle associated with the control.
(Inherited from Control)
DisposeReleases all resources used by the Component.
(Inherited from Component)
Dispose(Boolean)Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.
(Overrides ControlBaseDispose(Boolean))
DoDragDropBegins a drag-and-drop operation.
(Inherited from Control)
DrawToBitmapSupports rendering to the specified bitmap.
(Inherited from Control)
EndInvokeRetrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
(Inherited from Control)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
(Inherited from Component)
FindFormRetrieves the form that the control is on.
(Inherited from Control)
FocusSets input focus to the control.
(Inherited from Control)
GetAccessibilityObjectByIdRetrieves the specified AccessibleObject.
(Inherited from Control)
GetAutoSizeModeRetrieves a value indicating how a control will behave when its AutoSize property is enabled.
(Inherited from Control)
GetChildAtPoint(Point)Retrieves the child control that is located at the specified coordinates.
(Inherited from Control)
GetChildAtPoint(Point, GetChildAtPointSkip)Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.
(Inherited from Control)
GetContainerControlReturns the next ContainerControl up the control's chain of parent controls.
(Inherited from Control)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
GetNextControlRetrieves the next control forward or back in the tab order of child controls.
(Inherited from Control)
GetPreferredSizeRetrieves the size of a rectangular area into which a control can be fitted.
(Inherited from Control)
GetScaledBoundsRetrieves the bounds within which the control is scaled.
(Inherited from Control)
GetServiceReturns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
GetStyleRetrieves the value of the specified control style bit for the control.
(Inherited from Control)
GetTopLevelDetermines if the control is a top-level control.
(Inherited from Control)
GetTypeGets the Type of the current instance.
(Inherited from Object)
HideConceals the control from the user.
(Inherited from Control)
InitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
InitLayoutCalled after the control has been added to another container.
(Overrides ControlInitLayout)
InputCharByCommand
(Inherited from ControlBase)
InvalidateInvalidates the entire surface of the control and causes the control to be redrawn.
(Inherited from Control)
Invalidate(Boolean)Invalidates a specific region of the control and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.
(Inherited from Control)
Invalidate(Rectangle)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
(Inherited from Control)
Invalidate(Region)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.
(Inherited from Control)
Invalidate(Rectangle, Boolean)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.
(Inherited from Control)
Invalidate(Region, Boolean)Invalidates the specified region of the control (adds it to the control's update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. Optionally, invalidates the child controls assigned to the control.
(Inherited from Control)
Invoke(Delegate)Executes the specified delegate on the thread that owns the control's underlying window handle.
(Inherited from Control)
Invoke(Delegate, Object)Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.
(Inherited from Control)
InvokeExpand
(Inherited from InputControlBase)
InvokeGotFocusRaises the GotFocus event for the specified control.
(Inherited from Control)
InvokeLostFocusRaises the LostFocus event for the specified control.
(Inherited from Control)
InvokeOnClickRaises the Click event for the specified control.
(Inherited from Control)
InvokePaintRaises the Paint event for the specified control.
(Inherited from Control)
InvokePaintBackgroundRaises the PaintBackground event for the specified control.
(Inherited from Control)
IsInputCharDetermines if a character is an input character that the control recognizes.
(Inherited from Control)
IsInputKeyDetermines whether the specified key is a regular input key or a special key that requires preprocessing.
(Inherited from Control)
LogicalToDeviceUnitsConverts a Logical DPI value to it's equivalent DeviceUnit DPI value.
(Inherited from Control)
MeasureString(Int32)
(Inherited from TextControlBase)
MeasureString(String)
(Inherited from TextControlBase)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
MemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
NotifyInvalidateRaises the Invalidated event with a specified region of the control to invalidate.
(Inherited from Control)
OnAutoSizeChangedRaises the AutoSizeChanged event.
(Inherited from Control)
OnBackColorChangedRaises the BackColorChanged event.
(Inherited from Control)
OnBackgroundImageChangedRaises the BackgroundImageChanged event.
(Inherited from Control)
OnBackgroundImageLayoutChangedRaises the BackgroundImageLayoutChanged event.
(Inherited from Control)
OnBindingContextChangedRaises the BindingContextChanged event.
(Inherited from Control)
OnCausesValidationChangedRaises the CausesValidationChanged event.
(Inherited from Control)
OnChangeUICuesRaises the ChangeUICues event.
(Inherited from Control)
OnClickRaises the Click event.
(Inherited from Control)
OnClientSizeChangedRaises the ClientSizeChanged event.
(Inherited from Control)
OnContextMenuChangedRaises the ContextMenuChanged event.
(Inherited from Control)
OnContextMenuStripChangedRaises the ContextMenuStripChanged event.
(Inherited from Control)
OnControlAddedRaises the ControlAdded event.
(Inherited from Control)
OnControlRemovedRaises the ControlRemoved event.
(Inherited from Control)
OnCreateControlRaises the CreateControl method.
(Inherited from Control)
OnCursorChangedRaises the CursorChanged event.
(Inherited from Control)
OnDockChangedRaises the DockChanged event.
(Inherited from Control)
OnDoubleClickRaises the DoubleClick event.
(Inherited from Control)
OnDpiChangedAfterParentRaises the DpiChangedAfterParent event.
(Inherited from Control)
OnDpiChangedBeforeParentRaises the DpiChangedBeforeParent event.
(Inherited from Control)
OnDragDropRaises the DragDrop event.
(Inherited from TextControlBase)
OnDragEnterRaises the DragEnter event.
(Inherited from TextControlBase)
OnDragLeaveRaises the DragLeave event.
(Inherited from Control)
OnDragOverRaises the DragOver event.
(Inherited from Control)
OnEnabledChangedRaises the EnabledChanged event.
(Inherited from Control)
OnEnterRaises the Enter event.
(Inherited from Control)
OnFontChangedRaises the FontChanged event.
(Inherited from Control)
OnForeColorChangedRaises the ForeColorChanged event.
(Inherited from Control)
OnGiveFeedbackRaises the GiveFeedback event.
(Inherited from Control)
OnGotFocusRaises the GotFocus event.
(Inherited from Control)
OnHandleCreatedRaises the HandleCreated event.
(Inherited from ControlBase)
OnHandleDestroyedRaises the HandleDestroyed event.
(Inherited from Control)
OnHelpRequestedRaises the HelpRequested event.
(Inherited from Control)
OnImeModeChangedRaises the ImeModeChanged event.
(Inherited from Control)
OnInvalidatedRaises the Invalidated event.
(Inherited from ControlBase)
OnKeyDownRaises the KeyDown event.
(Inherited from Control)
OnKeyPressRaises the KeyPress event.
(Inherited from Control)
OnKeyUpRaises the KeyUp event.
(Inherited from Control)
OnLayoutRaises the Layout event.
(Overrides ControlOnLayout(LayoutEventArgs))
OnLeaveRaises the Leave event.
(Inherited from Control)
OnLoad
(Inherited from TextControlBase)
OnLocationChangedRaises the LocationChanged event.
(Inherited from TextControlBase)
OnLostFocusRaises the LostFocus event.
(Inherited from Control)
OnMarginChangedRaises the MarginChanged event.
(Inherited from Control)
OnMouseCaptureChangedRaises the MouseCaptureChanged event.
(Inherited from ControlBase)
OnMouseClickRaises the MouseClick event.
(Inherited from Control)
OnMouseDoubleClickRaises the MouseDoubleClick event.
(Inherited from Control)
OnMouseDownRaises the MouseDown event.
(Inherited from ControlBase)
OnMouseEnterRaises the MouseEnter event.
(Inherited from Control)
OnMouseHoverRaises the MouseHover event.
(Inherited from Control)
OnMouseLeaveRaises the MouseLeave event.
(Inherited from Control)
OnMouseMoveRaises the MouseMove event.
(Inherited from ControlBase)
OnMouseUpRaises the MouseUp event.
(Inherited from ControlBase)
OnMouseWheelRaises the MouseWheel event.
(Inherited from Control)
OnMoveRaises the Move event.
(Inherited from ControlBase)
OnNotifyMessageNotifies the control of Windows messages.
(Inherited from Control)
OnPaddingChangedRaises the PaddingChanged event.
(Inherited from Control)
OnPaintRaises the Paint event.
(Inherited from ControlBase)
OnPaintBackgroundPaints the background of the control.
(Inherited from Control)
OnParentBackColorChangedRaises the BackColorChanged event when the BackColor property value of the control's container changes.
(Inherited from Control)
OnParentBackgroundImageChangedRaises the BackgroundImageChanged event when the BackgroundImage property value of the control's container changes.
(Inherited from Control)
OnParentBindingContextChangedRaises the BindingContextChanged event when the BindingContext property value of the control's container changes.
(Inherited from Control)
OnParentChangedRaises the ParentChanged event.
(Inherited from Control)
OnParentCursorChangedRaises the CursorChanged event.
(Inherited from Control)
OnParentEnabledChangedRaises the EnabledChanged event when the Enabled property value of the control's container changes.
(Inherited from Control)
OnParentFontChangedRaises the FontChanged event when the Font property value of the control's container changes.
(Inherited from Control)
OnParentForeColorChangedRaises the ForeColorChanged event when the ForeColor property value of the control's container changes.
(Inherited from Control)
OnParentRightToLeftChangedRaises the RightToLeftChanged event when the RightToLeft property value of the control's container changes.
(Inherited from ControlBase)
OnParentVisibleChangedRaises the VisibleChanged event when the Visible property value of the control's container changes.
(Inherited from Control)
OnPreviewKeyDownRaises the PreviewKeyDown event.
(Inherited from Control)
OnPrintRaises the Paint event.
(Inherited from Control)
OnQueryContinueDragRaises the QueryContinueDrag event.
(Inherited from Control)
OnRegionChangedRaises the RegionChanged event.
(Inherited from Control)
OnResizeRaises the Resize event.
(Overrides ControlBaseOnResize(EventArgs))
OnRightToLeftChangedRaises the RightToLeftChanged event.
(Inherited from Control)
OnSizeChangedRaises the SizeChanged event.
(Inherited from Control)
OnStyleChangedRaises the StyleChanged event.
(Inherited from Control)
OnSystemColorsChangedRaises the SystemColorsChanged event.
(Inherited from Control)
OnTabIndexChangedRaises the TabIndexChanged event.
(Inherited from Control)
OnTabStopChangedRaises the TabStopChanged event.
(Inherited from Control)
OnTextChangedRaises the TextChanged event.
(Inherited from TextControlBase)
OnValidatedRaises the Validated event.
(Inherited from Control)
OnValidatingRaises the Validating event.
(Inherited from Control)
OnVisibleChangedRaises the VisibleChanged event.
(Inherited from Control)
PerformLayoutForces the control to apply layout logic to all its child controls.
(Inherited from Control)
PerformLayout(Control, String)Forces the control to apply layout logic to all its child controls.
(Inherited from Control)
PointToClientComputes the location of the specified screen point into client coordinates.
(Inherited from Control)
PointToScreenComputes the location of the specified client point into screen coordinates.
(Inherited from Control)
PostFilterEvents
(Inherited from InputControlBase)
PostFilterProperties
(Inherited from InputControlBase)
PreProcessControlMessagePreprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control)
PreProcessMessagePreprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control)
ProcessCmdKeyProcesses a command key.
(Inherited from Control)
ProcessDialogCharProcesses a dialog character.
(Inherited from Control)
ProcessDialogKeyProcesses a dialog key.
(Inherited from Control)
ProcessKeyEventArgsProcesses a key message and generates the appropriate control events.
(Inherited from Control)
ProcessKeyMessageProcesses a keyboard message.
(Inherited from Control)
ProcessKeyPreviewPreviews a keyboard message.
(Inherited from Control)
ProcessMnemonicProcesses a mnemonic character.
(Inherited from ControlBase)
ProvideListValues
(Inherited from ListControlBase)
RaiseDragEventRaises the appropriate drag event.
(Inherited from Control)
RaiseKeyEventRaises the appropriate key event.
(Inherited from Control)
RaiseMouseEventRaises the appropriate mouse event.
(Inherited from Control)
RaisePaintEventRaises the appropriate paint event.
(Inherited from Control)
RecreateHandleForces the re-creation of the handle for the control.
(Inherited from Control)
RectangleToClientComputes the size and location of the specified screen rectangle in client coordinates.
(Inherited from Control)
RectangleToScreenComputes the size and location of the specified client rectangle in screen coordinates.
(Inherited from Control)
RefreshForces the control to invalidate its client area and immediately redraw itself and any child controls.
(Inherited from Control)
RemoveBindingEvent(String, BindingEventHandlerBooleanBindingEventArgs)
(Inherited from ControlBase)
RemoveBindingEvent(String, BindingEventHandlerColorBindingEventArgs)
(Inherited from ControlBase)
RemoveBindingEvent(String, BindingEventHandlerContextMenuStripBindingEventArgs)
(Inherited from ControlBase)
RemoveBindingEvent(String, BindingEventHandlerFontBindingEventArgs)
(Inherited from ControlBase)
RemoveBindingEvent(String, BindingEventHandlerIntBindingEventArgs)
(Inherited from ControlBase)
RemoveBindingEvent(String, BindingEventHandlerStringBindingEventArgs)
(Inherited from ControlBase)
RescaleConstantsForDpiProvides constants for rescaling the control when a DPI change occurs.
(Inherited from Control)
ResetBackColorResets the BackColor property to its default value.
(Inherited from ControlBase)
ResetFontResets the Font property to its default value.
(Inherited from TextControlBase)
ResetForeColorResets the ForeColor property to its default value.
(Inherited from ControlBase)
ResetMouseEventArgsResets the control to handle the MouseLeave event.
(Inherited from Control)
ResetTextResets the Text property to its default value.
(Inherited from Control)
ResumeLayoutResumes usual layout logic.
(Inherited from Control)
ResumeLayout(Boolean)Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.
(Inherited from Control)
RtlTranslateAlignment(ContentAlignment)Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
(Inherited from Control)
RtlTranslateAlignment(HorizontalAlignment)Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
(Inherited from Control)
RtlTranslateAlignment(LeftRightAlignment)Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
(Inherited from Control)
RtlTranslateContentConverts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
(Inherited from Control)
RtlTranslateHorizontalConverts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
(Inherited from Control)
RtlTranslateLeftRightConverts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
(Inherited from Control)
ScaleScales the control and all child controls by the specified scaling factor.
(Inherited from Control)
ScaleBitmapLogicalToDeviceScales a logical bitmap value to it's equivalent device unit value when a DPI change occurs.
(Inherited from Control)
ScaleControlScales a control's location, size, padding and margin.
(Inherited from TextControlBase)
SelectActivates the control.
(Inherited from Control)
Select(Boolean, Boolean)Activates a child control. Optionally specifies the direction in the tab order to select the control from.
(Inherited from Control)
SelectNextControlActivates the next control.
(Inherited from Control)
SendToBackSends the control to the back of the z-order.
(Inherited from Control)
SetAutoSizeModeSets a value indicating how a control will behave when its AutoSize property is enabled.
(Inherited from Control)
SetBounds(Int32, Int32, Int32, Int32)Sets the bounds of the control to the specified location and size.
(Inherited from Control)
SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified)Sets the specified bounds of the control to the specified location and size.
(Inherited from Control)
SetBoundsCorePerforms the work of setting the specified bounds of this control.
(Inherited from ControlBase)
SetClientSizeCoreSets the size of the client area of the control.
(Inherited from Control)
SetStyleSets a specified ControlStyles flag to either or .
(Inherited from Control)
SetTopLevelSets the control as the top-level control.
(Inherited from Control)
SetVisibleCoreSets the control to the specified visible state.
(Inherited from Control)
ShouldSerializeTabIndex
(Inherited from ControlBase)
ShowDisplays the control to the user.
(Inherited from Control)
SizeFromClientSizeDetermines the size of the entire control from the height and width of its client area.
(Inherited from Control)
SkipControllerHandlersForKey
(Inherited from InputControlBase)
SuspendLayoutTemporarily suspends the layout logic for the control.
(Inherited from Control)
ToStringReturns a string that represents the current object.
(Inherited from TextControlBase)
Translate
(Inherited from ControlBase)
TryFocus
(Inherited from ControlBase)
TryFocus(Action)
(Inherited from InputControlBase)
UpdateCauses the control to redraw the invalidated regions within its client area.
(Inherited from Control)
UpdateBoundsUpdates the bounds of the control with the current size and location.
(Inherited from Control)
UpdateBounds(Int32, Int32, Int32, Int32)Updates the bounds of the control with the specified size and location.
(Inherited from Control)
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)Updates the bounds of the control with the specified size, location, and client size.
(Inherited from Control)
UpdateStylesForces the assigned styles to be reapplied to the control.
(Inherited from Control)
UpdateZOrderUpdates the control in its parent's z-order.
(Inherited from Control)
WndProcProcesses Windows messages.
(Inherited from ControlBase)

See Also