Szerkesztés

Megosztás a következőn keresztül:


FileListBoxArray Class

Definition

Caution

Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862

Provides a control array of FileListBox controls.

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

Remarks

The FileListBox class provides an equivalent for the run-time functionality of a Visual Basic 6.0 FileListBox 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

FileListBoxArray()

Initializes a new instance of the FileListBoxArray class.

FileListBoxArray(IContainer)

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

Fields

components

Stores the container for a control array.

(Inherited from BaseControlArray)
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

Stores values that represent the controls in a control array.

(Inherited from BaseControlArray)
fIsEndInitCalled

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

(Inherited from BaseControlArray)
indices

Stores the indices for a control array.

(Inherited from BaseControlArray)

Properties

CanRaiseEvents

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

(Inherited from Component)
Container

Gets the IContainer that contains the Component.

(Inherited from Component)
DesignMode

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

(Inherited from Component)
Events

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

(Inherited from Component)
Item[Int16]

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

Site

Gets or sets the ISite of the Component.

(Inherited from Component)

Methods

BaseCanExtend(Object)

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

(Inherited from BaseControlArray)
BaseGetIndex(Object)

Gets the index of a control in a control array.

(Inherited from BaseControlArray)
BaseGetItem(Int16)

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

(Inherited from BaseControlArray)
BaseResetIndex(Object)

Not supported in the BaseControlArray class.

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

Sets the index for a control in a control array.

(Inherited from BaseControlArray)
BaseShouldSerializeIndex(Object)

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

(Inherited from BaseControlArray)
CanExtend(Object)

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

Count()

Returns the number of controls in a control array.

(Inherited from BaseControlArray)
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()

Releases all resources used by the Component.

(Inherited from Component)
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)

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

(Inherited from Object)
GetControlInstanceType()

Overrides GetControlInstanceType().

GetEnumerator()

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

(Inherited from BaseControlArray)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetIndex(FileListBox)

Gets the index of a FileListBox in a FileListBoxArray.

GetLifetimeService()
Obsolete.

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

(Inherited from MarshalByRefObject)
GetService(Type)

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

(Inherited from Component)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
HookUpControlEvents(Object)

Overrides HookUpControlEvents(Object).

InitializeLifetimeService()
Obsolete.

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

(Inherited from MarshalByRefObject)
LBound()

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

(Inherited from BaseControlArray)
Load(Int16)

Creates a new element in a control array.

(Inherited from BaseControlArray)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
ResetIndex(FileListBox)

The ResetIndex method is not supported in the FileListBoxArray class.

SetIndex(FileListBox, Int16)

Sets the index of the initial FileListBox in a FileListBoxArray.

ShouldSerializeIndex(FileListBox)

Returns a value that indicates whether a FileListBox is a member of this FileListBoxArray.

ToString()

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

(Inherited from Component)
UBound()

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

(Inherited from BaseControlArray)
Unload(Int16)

Removes a control from a control array.

(Inherited from BaseControlArray)

Events

BackColorChanged

Occurs when the value of the BackColor property changes.

BindingContextChanged

Occurs when the value of the BindingContext property changes.

CausesValidationChanged

Occurs when the value of the CausesValidation property changes.

ChangeUICues

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

ContextMenuChanged

Occurs when the value of the ContextMenu property changes.

CursorChanged

Occurs when the value of the Cursor property changes.

DataSourceChanged

Occurs when the value of the DataSource property changes.

DisplayMemberChanged

Occurs when the value of the DisplayMember property changes.

Disposed

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

(Inherited from Component)
DockChanged

Occurs when the value of the Dock property changes.

DoubleClick

Occurs when a FileListBox control in a FileListBoxArray is double-clicked.

DragDrop

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

DragEnter

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

DragLeave

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

DragOver

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

DrawItem

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

EnabledChanged

Occurs when the value of the Enabled property changes.

Enter

Occurs when the control is entered.

FontChanged

Occurs when the value of the Font property changes.

ForeColorChanged

Occurs when the value of the ForeColor property changes.

GiveFeedback

Occurs during a drag operation.

HelpRequested

Occurs when the user requests help for a control.

ImeModeChanged

Occurs when the value of the ImeMode property changes.

KeyDown

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

KeyPress

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

KeyUp

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

Layout

Occurs when a control should reposition its child controls.

Leave

Occurs when the input focus leaves the control.

LocationChanged

Occurs when the value of the Location property changes.

MeasureItem

Occurs every time an owner-drawn FileListBox item has to be drawn and when the sizes of the list items are determined.

MouseDown

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

MouseEnter

Occurs when the mouse pointer enters the control.

MouseHover

Occurs when the mouse pointer rests on the control.

MouseLeave

Occurs when the mouse pointer leaves the control.

MouseMove

Occurs when the mouse pointer is moved over the control.

MouseUp

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

Move

Occurs when the control is moved.

ParentChanged

Occurs when the control's Padding property changes.

PathChange

Occurs when the path is changed by setting the FileName or Path property in code.

PatternChange

Occurs when the file listing pattern, such as "*.*", is changed by setting the FileName or Pattern property in code.

QueryAccessibilityHelp

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

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

Occurs when the control is resized.

RightToLeftChanged

Occurs when the RightToLeftChanged property value changes.

SelectedIndexChanged

Occurs when the SelectedIndex property has changed.

SelectedValueChanged

Occurs when the SelectedValue property has changed.

SizeChanged

Occurs when the Size property value changes.

StyleChanged

Occurs when the control style changes.

SystemColorsChanged

Occurs when the system colors change.

TabIndexChanged

Occurs when the TabIndex property value changes.

TabStopChanged

Occurs when the TabStop property value changes.

Validated

Occurs when the control is finished validating.

Validating

Occurs when the control is validating.

ValueMemberChanged

Occurs when the ValueMember property changes.

VisibleChanged

Occurs when the Visible property value changes.

Explicit Interface Implementations

ISupportInitialize.BeginInit()

Begins the initialization of the control.

(Inherited from BaseControlArray)
ISupportInitialize.EndInit()

Ends the initialization of a control.

(Inherited from BaseControlArray)

Applies to