PictureBoxArray Class
Note: This API is now obsolete.
Provides a control array of PictureBox controls.
System::MarshalByRefObject
System.ComponentModel::Component
Microsoft.VisualBasic.Compatibility.VB6::BaseControlArray
Microsoft.VisualBasic.Compatibility.VB6::PictureBoxArray
Assembly: Microsoft.VisualBasic.Compatibility (in Microsoft.VisualBasic.Compatibility.dll)
The PictureBoxArray type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | PictureBoxArray() | Initializes a new instance of the PictureBoxArray class. |
![]() | PictureBoxArray(IContainer) | Initializes a new instance of the PictureBoxArray class, specifying its container. |
| Name | Description | |
|---|---|---|
![]() | 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 | Gets a specific element of a PictureBoxArray by index. Read-only. |
![]() | Site | Gets or sets the ISite of the Component. (Inherited from Component.) |
| Name | Description | |
|---|---|---|
![]() | BaseCanExtend | Gets a value that indicates whether a control is a member of a control array. (Inherited from BaseControlArray.) |
![]() | BaseGetIndex | Gets the index of a control in a control array. (Inherited from BaseControlArray.) |
![]() | BaseGetItem | Gets the control for a specified index in a control array. (Inherited from BaseControlArray.) |
![]() | BaseResetIndex | Not supported in the BaseControlArray class. (Inherited from BaseControlArray.) |
![]() | BaseSetIndex | Sets the index for a control in a control array. (Inherited from BaseControlArray.) |
![]() | BaseShouldSerializeIndex | Returns a value that indicates whether a control is a member of a control array. (Inherited from BaseControlArray.) |
![]() | CanExtend | Gets a value that determines whether a control is a member of a PictureBoxArray. |
![]() | Count | Returns the number of controls in a control array. (Inherited from BaseControlArray.) |
![]() | CreateObjRef | 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.) |
![]() | Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
![]() | GetControlInstanceType | Infrastructure. Overrides GetControlInstanceType. (Overrides BaseControlArray::GetControlInstanceType().) |
![]() | GetEnumerator | Returns a reference to an enumerator object, which is used to iterate over a control array. (Inherited from BaseControlArray.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetIndex | Gets the index of a PictureBox in a PictureBoxArray. |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | GetService | 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 | Infrastructure. Overrides HookUpControlEvents. (Overrides BaseControlArray::HookUpControlEvents(Object).) |
![]() | InitializeLifetimeService | 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 | 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 | The ResetIndex method is not supported in the PictureBoxArray class. |
![]() | SetIndex | Sets the index of the initial PictureBox in a PictureBoxArray. |
![]() | ShouldSerializeIndex | Returns a value that indicates whether a PictureBox is a member of this PictureBoxArray. |
![]() | 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 | Removes a control from a control array. (Inherited from BaseControlArray.) |
| Name | Description | |
|---|---|---|
![]() | BackColorChanged | Occurs when the value of the BackColor property changes. |
![]() | BackgroundImageChanged | Occurs when the value of the BackgroundImage property changes. |
![]() | BackgroundImageLayoutChanged | Occurs when the value of the BackgroundImageLayout property changes. |
![]() | BindingContextChanged | Occurs when the value of the BindingContext property changes. |
![]() | ChangeUICues | Occurs when the focus or keyboard user interface (UI) cues change. |
![]() | Click | Occurs when a PictureBox in a PictureBoxArray is clicked. |
![]() | ClientSizeChanged | Occurs when the value of the ClientSize property changes. |
![]() | ContextMenuChanged | Occurs when the value of the ContextMenu property changes. |
![]() | ContextMenuStripChanged | Occurs when the value of the ContextMenuStrip property changes. |
![]() | ControlAdded | Occurs when a new control is added to the PictureBoxArray. |
![]() | ControlRemoved | Occurs when a control is removed from the PictureBoxArray. |
![]() | CursorChanged | Occurs when the value of the Cursor 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 PictureBox control in a PictureBoxArray 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. |
![]() | EnabledChanged | Occurs when the value of the Enabled property changes. |
![]() | GiveFeedback | Occurs during a drag operation. |
![]() | HelpRequested | Occurs when the user requests help for a control. |
![]() | Layout | Occurs when a control should reposition its child controls. |
![]() | LoadCompleted | Occurs when the asynchronous image-load operation is completed, been canceled, or raised an exception. |
![]() | LoadProgressChanged | Occurs when the progress of an asynchronous image-loading operation has changed. |
![]() | LocationChanged | Occurs when the value of the Location property changes. |
![]() | MarginChanged | Occurs when the value of the Margin property changes. |
![]() | MouseCaptureChanged | Occurs when the control loses or gains mouse capture. |
![]() | MouseClick | Occurs when the control is clicked by the mouse. |
![]() | MouseDoubleClick | Occurs when the control is double-clicked by the mouse. |
![]() | 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. |
![]() | PaddingChanged | Occurs when the control's Padding property changes. |
![]() | Paint | Occurs when the control is redrawn. |
![]() | ParentChanged | Occurs when the control's Parent property changes. |
![]() | QueryAccessibilityHelp | Occurs when an AccessibleObject is providing Help to accessibility applications. |
![]() | QueryContinueDrag | Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled. |
![]() | RegionChanged | Occurs when the value of the Region property changes. |
![]() | Resize | Occurs when the control is resized. |
![]() | SizeChanged | Occurs when the Size property value changes. |
![]() | SizeModeChanged | Occurs when the SizeMode property value changes. |
![]() | StyleChanged | Occurs when the control style changes. |
![]() | SystemColorsChanged | Occurs when the system colors change. |
![]() | Validated | Occurs when the control is finished validating. |
![]() | Validating | Occurs when the control is validating. |
![]() | VisibleChanged | Occurs when the Visible property value changes. |
| Name | Description | |
|---|---|---|
![]() | 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.) |
| Name | Description | |
|---|---|---|
![]() ![]() | ISupportInitialize::BeginInit | Begins the initialization of the control. (Inherited from BaseControlArray.) |
![]() ![]() | ISupportInitialize::EndInit | Ends the initialization of a control. (Inherited from BaseControlArray.) |
The PictureBoxArray class provides an equivalent for the run-time functionality of a Visual Basic 6.0 PictureBox 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 2010. 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. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
