DirListBoxArray DirListBoxArray DirListBoxArray DirListBoxArray Class

Definition

Warning

This API is now obsolete.

Provides a control array of DirListBox controls.

public ref class DirListBoxArray : Microsoft::VisualBasic::Compatibility::VB6::BaseControlArray, System::ComponentModel::IExtenderProvider
[System.Obsolete("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public class DirListBoxArray : Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray, System.ComponentModel.IExtenderProvider
type DirListBoxArray = class
    inherit BaseControlArray
    interface IExtenderProvider
Public Class DirListBoxArray
Inherits BaseControlArray
Implements IExtenderProvider
Inheritance
Attributes
Implements

Remarks

The DirListBoxArray class provides an equivalent for the run-time functionality of a Visual Basic 6.0 DirListBox array. It does not provide the design-time features of a Visual Basic 6.0 control array.

Note

Functions and objects in the Microsoft.VisualBasic.Compatibility.VB6 namespace are provided for use by the tools for upgrading from Visual Basic 6.0 to Visual Basic. In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.

Constructors

DirListBoxArray() DirListBoxArray() DirListBoxArray() DirListBoxArray()

Initializes a new instance of the DirListBoxArray class.

DirListBoxArray(IContainer) DirListBoxArray(IContainer) DirListBoxArray(IContainer) DirListBoxArray(IContainer)

Initializes a new instance of the DirListBoxArray class, specifying its container.

Properties

CanRaiseEvents CanRaiseEvents CanRaiseEvents CanRaiseEvents

Gets a value indicating whether the component can raise an event.

(Inherited from Component)
Container Container Container Container

Gets the IContainer that contains the Component.

(Inherited from Component)
DesignMode DesignMode DesignMode DesignMode

Gets a value that indicates whether the Component is currently in design mode.

(Inherited from Component)
Events Events Events Events

Gets the list of event handlers that are attached to this Component.

(Inherited from Component)
Item[Int16] Item[Int16] Item[Int16] Item[Int16]

Gets a specific element of a DirListBoxArray by index. Read-only.

Site Site Site Site

Gets or sets the ISite of the Component.

(Inherited from Component)

Methods

BaseCanExtend(Object) BaseCanExtend(Object) BaseCanExtend(Object) BaseCanExtend(Object)

Gets a value that indicates whether a control is a member of a control array.

(Inherited from BaseControlArray)
BaseGetIndex(Object) BaseGetIndex(Object) BaseGetIndex(Object) BaseGetIndex(Object)

Gets the index of a control in a control array.

(Inherited from BaseControlArray)
BaseGetItem(Int16) BaseGetItem(Int16) BaseGetItem(Int16) BaseGetItem(Int16)

Gets the control for a specified index in a control array.

(Inherited from BaseControlArray)
BaseResetIndex(Object) BaseResetIndex(Object) BaseResetIndex(Object) BaseResetIndex(Object)

Not supported in the BaseControlArray class.

(Inherited from BaseControlArray)
BaseSetIndex(Object, Int16, Boolean) BaseSetIndex(Object, Int16, Boolean) BaseSetIndex(Object, Int16, Boolean) BaseSetIndex(Object, Int16, Boolean)

Sets the index for a control in a control array.

(Inherited from BaseControlArray)
BaseShouldSerializeIndex(Object) BaseShouldSerializeIndex(Object) BaseShouldSerializeIndex(Object) BaseShouldSerializeIndex(Object)

Returns a value that indicates whether a control is a member of a control array.

(Inherited from BaseControlArray)
CanExtend(Object) CanExtend(Object) CanExtend(Object) CanExtend(Object)

Gets a value that determines whether a control is a member of a DirListBoxArray.

Count() Count() Count() Count()

Returns the number of controls in a control array.

(Inherited from BaseControlArray)
CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the Component.

(Inherited from Component)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources that are used by a control in a control array and optionally releases the managed resources.

(Inherited from BaseControlArray)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetControlInstanceType() GetControlInstanceType() GetControlInstanceType() GetControlInstanceType()

Overrides GetControlInstanceType().

GetEnumerator() GetEnumerator() GetEnumerator() GetEnumerator()

Returns a reference to an enumerator object, which is used to iterate over a control array.

(Inherited from BaseControlArray)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetIndex(DirListBox) GetIndex(DirListBox) GetIndex(DirListBox) GetIndex(DirListBox)

Gets the index of a DirListBox in a DirListBoxArray.

GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetService(Type) GetService(Type) GetService(Type) GetService(Type)

Returns an object that represents a service provided by the Component or by its Container.

(Inherited from Component)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
HookUpControlEvents(Object) HookUpControlEvents(Object) HookUpControlEvents(Object) HookUpControlEvents(Object)

Overrides HookUpControlEvents(Object).

InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
LBound() LBound() LBound() LBound()

Returns a Short that contains the smallest available subscript for a control array.

(Inherited from BaseControlArray)
Load(Int16) Load(Int16) Load(Int16) Load(Int16)

Creates a new element in a control array.

(Inherited from BaseControlArray)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
ResetIndex(DirListBox) ResetIndex(DirListBox) ResetIndex(DirListBox) ResetIndex(DirListBox)

The ResetIndex method is not supported in the DirListBoxArray class.

SetIndex(DirListBox, Int16) SetIndex(DirListBox, Int16) SetIndex(DirListBox, Int16) SetIndex(DirListBox, Int16)

Sets the index of the initial DirListBox in a DirListBoxArray.

ShouldSerializeIndex(DirListBox) ShouldSerializeIndex(DirListBox) ShouldSerializeIndex(DirListBox) ShouldSerializeIndex(DirListBox)

Returns a value that indicates whether a DirListBox is a member of this DirListBoxArray.

ToString() ToString() ToString() ToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.

(Inherited from Component)
UBound() UBound() UBound() UBound()

Returns a Short that contains the largest available subscript for a control array.

(Inherited from BaseControlArray)
Unload(Int16) Unload(Int16) Unload(Int16) Unload(Int16)

Removes a control from a control array.

(Inherited from BaseControlArray)

Events

BackColorChanged BackColorChanged BackColorChanged BackColorChanged

Occurs when the value of the BackColor property changes.

BindingContextChanged BindingContextChanged BindingContextChanged BindingContextChanged

Occurs when the value of the BindingContext property changes.

CausesValidationChanged CausesValidationChanged CausesValidationChanged CausesValidationChanged

Occurs when the value of the CausesValidation property changes.

Change Change Change Change

Occurs when the contents of a DirListBox control has changed.

ChangeUICues ChangeUICues ChangeUICues ChangeUICues

Occurs when the focus or keyboard user interface (UI) cues change.

ContextMenuChanged ContextMenuChanged ContextMenuChanged ContextMenuChanged

Occurs when the value of the ContextMenu property changes.

CursorChanged CursorChanged CursorChanged CursorChanged

Occurs when the value of the Cursor property changes.

DataSourceChanged DataSourceChanged DataSourceChanged DataSourceChanged

Occurs when the value of the DataSource property changes.

DisplayMemberChanged DisplayMemberChanged DisplayMemberChanged DisplayMemberChanged

Occurs when the value of the DisplayMember property changes.

Disposed Disposed Disposed Disposed

Occurs when the component is disposed by a call to the Dispose() method.

(Inherited from Component)
DockChanged DockChanged DockChanged DockChanged

Occurs when the value of the Dock property changes.

DoubleClick DoubleClick DoubleClick DoubleClick

Occurs when a DirListBox control in a DirListBoxArray is double-clicked.

DragDrop DragDrop DragDrop DragDrop

Occurs when a drag-and-drop operation is completed.

DragEnter DragEnter DragEnter DragEnter

Occurs when an object is dragged into the control's bounds.

DragLeave DragLeave DragLeave DragLeave

Occurs when an object is dragged out of the control's bounds.

DragOver DragOver DragOver DragOver

Occurs when an object is dragged over the control's bounds.

DrawItem DrawItem DrawItem DrawItem

Occurs when a visual aspect of an owner-drawn DirListBox changes.

EnabledChanged EnabledChanged EnabledChanged EnabledChanged

Occurs when the value of the Enabled property changes.

Enter Enter Enter Enter

Occurs when the control is entered.

FontChanged FontChanged FontChanged FontChanged

Occurs when the value of the Font property changes.

ForeColorChanged ForeColorChanged ForeColorChanged ForeColorChanged

Occurs when the value of the ForeColor property changes.

GiveFeedback GiveFeedback GiveFeedback GiveFeedback

Occurs during a drag operation.

HelpRequested HelpRequested HelpRequested HelpRequested

Occurs when the user requests help for a control.

ImeModeChanged ImeModeChanged ImeModeChanged ImeModeChanged

Occurs when the value of the ImeMode property changes.

KeyDown KeyDown KeyDown KeyDown

Occurs when a key is pressed and the control has focus.

KeyPress KeyPress KeyPress KeyPress

Occurs when a key is pressed and the control has focus.

KeyUp KeyUp KeyUp KeyUp

Occurs when a key is released and the control has focus.

Layout Layout Layout Layout

Occurs when a control should reposition its child controls.

Leave Leave Leave Leave

Occurs when the input focus leaves the control.

LocationChanged LocationChanged LocationChanged LocationChanged

Occurs when the value of the Location property changes.

MeasureItem MeasureItem MeasureItem MeasureItem

Occurs each time an owner-drawn DirListBox item needs to be drawn and when the sizes of the list items are determined.

MouseDown MouseDown MouseDown MouseDown

Occurs when the mouse pointer is over the control and a mouse button is pressed.

MouseEnter MouseEnter MouseEnter MouseEnter

Occurs when the mouse pointer enters the control.

MouseHover MouseHover MouseHover MouseHover

Occurs when the mouse pointer rests on the control.

MouseLeave MouseLeave MouseLeave MouseLeave

Occurs when the mouse pointer leaves the control.

MouseMove MouseMove MouseMove MouseMove

Occurs when the mouse pointer is moved over the control.

MouseUp MouseUp MouseUp MouseUp

Occurs when the mouse pointer is over the control and a mouse button is released.

Move Move Move Move

Occurs when the control is moved.

ParentChanged ParentChanged ParentChanged ParentChanged

Occurs when the control's Parent property changes.

QueryAccessibilityHelp QueryAccessibilityHelp QueryAccessibilityHelp QueryAccessibilityHelp

Occurs when an AccessibleObject is providing Help to accessibility applications.

QueryContinueDrag QueryContinueDrag QueryContinueDrag QueryContinueDrag

Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.

Resize Resize Resize Resize

Occurs when the control is resized.

RightToLeftChanged RightToLeftChanged RightToLeftChanged RightToLeftChanged

Occurs when the RightToLeftChanged property value changes.

SelectedIndexChanged SelectedIndexChanged SelectedIndexChanged SelectedIndexChanged

Occurs when the SelectedIndex property has changed.

SelectedValueChanged SelectedValueChanged SelectedValueChanged SelectedValueChanged

Occurs when the SelectedValue property has changed.

SizeChanged SizeChanged SizeChanged SizeChanged

Occurs when the Size property value changes.

StyleChanged StyleChanged StyleChanged StyleChanged

Occurs when the control style changes.

SystemColorsChanged SystemColorsChanged SystemColorsChanged SystemColorsChanged

Occurs when the system colors change.

TabIndexChanged TabIndexChanged TabIndexChanged TabIndexChanged

Occurs when the TabIndex property value changes.

TabStopChanged TabStopChanged TabStopChanged TabStopChanged

Occurs when the TabStop property value changes.

Validated Validated Validated Validated

Occurs when the control is finished validating.

Validating Validating Validating Validating

Occurs when the control is validating.

ValueMemberChanged ValueMemberChanged ValueMemberChanged ValueMemberChanged

Occurs when the ValueMember property changes.

VisibleChanged VisibleChanged VisibleChanged VisibleChanged

Occurs when the Visible property value changes.

Fields

components components components components

Stores the container for a control array.

(Inherited from BaseControlArray)
controlAddedAtDesignTime controlAddedAtDesignTime controlAddedAtDesignTime controlAddedAtDesignTime

Stores values to track whether a control in a control array was created at design time or at run time.

(Inherited from BaseControlArray)
controls controls controls controls

Stores values that represent the controls in a control array.

(Inherited from BaseControlArray)
fIsEndInitCalled fIsEndInitCalled fIsEndInitCalled fIsEndInitCalled

Stores a value indicating whether the initialization code for a control array's container has finished executing.

(Inherited from BaseControlArray)
indices indices indices indices

Stores the indices for a control array.

(Inherited from BaseControlArray)

Explicit Interface Implementations

ISupportInitialize.BeginInit() ISupportInitialize.BeginInit() ISupportInitialize.BeginInit() ISupportInitialize.BeginInit()

Begins the initialization of the control.

(Inherited from BaseControlArray)
ISupportInitialize.EndInit() ISupportInitialize.EndInit() ISupportInitialize.EndInit() ISupportInitialize.EndInit()

Ends the initialization of a control.

(Inherited from BaseControlArray)

Applies to