PictureBoxArray Class

 
Note: This API is now obsolete.

Provides a control array of PictureBox controls.

Namespace:   Microsoft.VisualBasic.Compatibility.VB6
Assembly:  Microsoft.VisualBasic.Compatibility (in Microsoft.VisualBasic.Compatibility.dll)

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray
        Microsoft.VisualBasic.Compatibility.VB6.PictureBoxArray

[ObsoleteAttribute("Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862")]
public class PictureBoxArray : BaseControlArray, IExtenderProvider

NameDescription
System_CAPS_pubmethodPictureBoxArray()

Initializes a new instance of the PictureBoxArray class.

System_CAPS_pubmethodPictureBoxArray(IContainer)

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

NameDescription
System_CAPS_protpropertyCanRaiseEvents

Gets a value indicating whether the component can raise an event.(Inherited from Component.)

System_CAPS_pubpropertyContainer

Gets the IContainer that contains the Component.(Inherited from Component.)

System_CAPS_protpropertyDesignMode

Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)

System_CAPS_protpropertyEvents

Gets the list of event handlers that are attached to this Component.(Inherited from Component.)

System_CAPS_pubpropertyItem[Int16]

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

System_CAPS_pubpropertySite

Gets or sets the ISite of the Component.(Inherited from Component.)

NameDescription
System_CAPS_protmethodBaseCanExtend(Object)

Gets a value that indicates whether a control is a member of a control array.(Inherited from BaseControlArray.)

System_CAPS_protmethodBaseGetIndex(Object)

Gets the index of a control in a control array.(Inherited from BaseControlArray.)

System_CAPS_protmethodBaseGetItem(Int16)

Gets the control for a specified index in a control array.(Inherited from BaseControlArray.)

System_CAPS_protmethodBaseResetIndex(Object)

Not supported in the BaseControlArray class.(Inherited from BaseControlArray.)

System_CAPS_protmethodBaseSetIndex(Object, Int16, Boolean)

Sets the index for a control in a control array.(Inherited from BaseControlArray.)

System_CAPS_protmethodBaseShouldSerializeIndex(Object)

Returns a value that indicates whether a control is a member of a control array. (Inherited from BaseControlArray.)

System_CAPS_pubmethodCanExtend(Object)

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

System_CAPS_pubmethodCount()

Returns the number of controls in a control array.(Inherited from BaseControlArray.)

System_CAPS_pubmethodCreateObjRef(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.)

System_CAPS_pubmethodDispose()

Releases all resources used by the Component.(Inherited from Component.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources that are used by a control in a control array and optionally releases the managed resources.(Inherited from BaseControlArray.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.(Inherited from Component.)

System_CAPS_protmethodGetControlInstanceType()

This API supports the product infrastructure and is not intended to be used directly from your code. Overrides GetControlInstanceType.(Overrides BaseControlArray.GetControlInstanceType().)

System_CAPS_pubmethodGetEnumerator()

Returns a reference to an enumerator object, which is used to iterate over a control array.(Inherited from BaseControlArray.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetIndex(PictureBox)

Gets the index of a PictureBox in a PictureBoxArray.

System_CAPS_pubmethodGetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_protmethodGetService(Type)

Returns an object that represents a service provided by the Component or by its Container.(Inherited from Component.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodHookUpControlEvents(Object)

This API supports the product infrastructure and is not intended to be used directly from your code. Overrides HookUpControlEvents.(Overrides BaseControlArray.HookUpControlEvents(Object).)

System_CAPS_pubmethodInitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodLBound()

Returns a Short that contains the smallest available subscript for a control array.(Inherited from BaseControlArray.)

System_CAPS_pubmethodLoad(Int16)

Creates a new element in a control array.(Inherited from BaseControlArray.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.(Inherited from MarshalByRefObject.)

System_CAPS_pubmethodResetIndex(PictureBox)

The ResetIndex method is not supported in the PictureBoxArray class.

System_CAPS_pubmethodSetIndex(PictureBox, Int16)

Sets the index of the initial PictureBox in a PictureBoxArray.

System_CAPS_pubmethodShouldSerializeIndex(PictureBox)

Returns a value that indicates whether a PictureBox is a member of this PictureBoxArray.

System_CAPS_pubmethodToString()

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

System_CAPS_pubmethodUBound()

Returns a Short that contains the largest available subscript for a control array.(Inherited from BaseControlArray.)

System_CAPS_pubmethodUnload(Int16)

Removes a control from a control array.(Inherited from BaseControlArray.)

NameDescription
System_CAPS_protfieldcomponents

Stores the container for a control array.(Inherited from BaseControlArray.)

System_CAPS_protfieldcontrolAddedAtDesignTime

Stores values to track whether a control in a control array was created at design time or at run time.(Inherited from BaseControlArray.)

System_CAPS_protfieldcontrols

Stores values that represent the controls in a control array.(Inherited from BaseControlArray.)

System_CAPS_protfieldfIsEndInitCalled

Stores a value indicating whether the initialization code for a control array's container has finished executing.(Inherited from BaseControlArray.)

System_CAPS_protfieldindices

Stores the indices for a control array.(Inherited from BaseControlArray.)

NameDescription
System_CAPS_pubeventBackColorChanged

Occurs when the value of the BackColor property changes.

System_CAPS_pubeventBackgroundImageChanged

Occurs when the value of the BackgroundImage property changes.

System_CAPS_pubeventBackgroundImageLayoutChanged

Occurs when the value of the BackgroundImageLayout property changes.

System_CAPS_pubeventBindingContextChanged

Occurs when the value of the BindingContext property changes.

System_CAPS_pubeventChangeUICues

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

System_CAPS_pubeventClick

Occurs when a PictureBox in a PictureBoxArray is clicked.

System_CAPS_pubeventClientSizeChanged

Occurs when the value of the ClientSize property changes.

System_CAPS_pubeventContextMenuChanged

Occurs when the value of the ContextMenu property changes.

System_CAPS_pubeventContextMenuStripChanged

Occurs when the value of the ContextMenuStrip property changes.

System_CAPS_pubeventControlAdded

Occurs when a new control is added to the PictureBoxArray.

System_CAPS_pubeventControlRemoved

Occurs when a control is removed from the PictureBoxArray.

System_CAPS_pubeventCursorChanged

Occurs when the value of the Cursor property changes.

System_CAPS_pubeventDisposed

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

System_CAPS_pubeventDockChanged

Occurs when the value of the Dock property changes.

System_CAPS_pubeventDoubleClick

Occurs when a PictureBox control in a PictureBoxArray is double-clicked.

System_CAPS_pubeventDragDrop

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

System_CAPS_pubeventDragEnter

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

System_CAPS_pubeventDragLeave

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

System_CAPS_pubeventDragOver

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

System_CAPS_pubeventEnabledChanged

Occurs when the value of the Enabled property changes.

System_CAPS_pubeventGiveFeedback

Occurs during a drag operation.

System_CAPS_pubeventHelpRequested

Occurs when the user requests help for a control.

System_CAPS_pubeventLayout

Occurs when a control should reposition its child controls.

System_CAPS_pubeventLoadCompleted

Occurs when the asynchronous image-load operation is completed, been canceled, or raised an exception.

System_CAPS_pubeventLoadProgressChanged

Occurs when the progress of an asynchronous image-loading operation has changed.

System_CAPS_pubeventLocationChanged

Occurs when the value of the Location property changes.

System_CAPS_pubeventMarginChanged

Occurs when the value of the Margin property changes.

System_CAPS_pubeventMouseCaptureChanged

Occurs when the control loses or gains mouse capture.

System_CAPS_pubeventMouseClick

Occurs when the control is clicked by the mouse.

System_CAPS_pubeventMouseDoubleClick

Occurs when the control is double-clicked by the mouse.

System_CAPS_pubeventMouseDown

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

System_CAPS_pubeventMouseEnter

Occurs when the mouse pointer enters the control.

System_CAPS_pubeventMouseHover

Occurs when the mouse pointer rests on the control.

System_CAPS_pubeventMouseLeave

Occurs when the mouse pointer leaves the control.

System_CAPS_pubeventMouseMove

Occurs when the mouse pointer is moved over the control.

System_CAPS_pubeventMouseUp

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

System_CAPS_pubeventMove

Occurs when the control is moved.

System_CAPS_pubeventPaddingChanged

Occurs when the control's Padding property changes.

System_CAPS_pubeventPaint

Occurs when the control is redrawn.

System_CAPS_pubeventParentChanged

Occurs when the control's Parent property changes.

System_CAPS_pubeventQueryAccessibilityHelp

Occurs when an AccessibleObject is providing Help to accessibility applications.

System_CAPS_pubeventQueryContinueDrag

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

System_CAPS_pubeventRegionChanged

Occurs when the value of the Region property changes.

System_CAPS_pubeventResize

Occurs when the control is resized.

System_CAPS_pubeventSizeChanged

Occurs when the Size property value changes.

System_CAPS_pubeventSizeModeChanged

Occurs when the SizeMode property value changes.

System_CAPS_pubeventStyleChanged

Occurs when the control style changes.

System_CAPS_pubeventSystemColorsChanged

Occurs when the system colors change.

System_CAPS_pubeventValidated

Occurs when the control is finished validating.

System_CAPS_pubeventValidating

Occurs when the control is validating.

System_CAPS_pubeventVisibleChanged

Occurs when the Visible property value changes.

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodISupportInitialize.BeginInit()

Begins the initialization of the control. (Inherited from BaseControlArray.)

System_CAPS_pubinterfaceSystem_CAPS_privmethodISupportInitialize.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.

System_CAPS_noteNote

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.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: