VScrollBarArray 类
定义
注意
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
提供 VScrollBar 控件的控件数组。Provides a control array of VScrollBar controls.
public ref class VScrollBarArray : Microsoft::VisualBasic::Compatibility::VB6::BaseControlArray, System::ComponentModel::IExtenderProvider
public class VScrollBarArray : 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 VScrollBarArray : Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray, System.ComponentModel.IExtenderProvider
type VScrollBarArray = 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 VScrollBarArray = class
inherit BaseControlArray
interface IExtenderProvider
Public Class VScrollBarArray
Inherits BaseControlArray
Implements IExtenderProvider
- 继承
- 属性
- 实现
注解
VScrollBarArray类为 Visual Basic 6.0 数组的运行时功能提供等效项 VScrollBar 。The VScrollBarArray class provides an equivalent for the run-time functionality of a Visual Basic 6.0 VScrollBar array. 它不提供 Visual Basic 6.0 控件数组的设计时功能。It does not provide the design-time features of a Visual Basic 6.0 control array.
备注
Microsoft.VisualBasic.Compatibility.VB6 命名空间中的函数和对象用于工具从 Visual Basic 6.0 升级到 Visual Basic。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. 多数情况下,这些函数和对象可再现 .NET Framework 中其他命名空间的功能。In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework. 只有当 Visual Basic 6.0 代码模型与 .NET Framework 实现有显著区别时,才必须使用这些函数和对象。They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework implementation.
构造函数
| VScrollBarArray() |
初始化 VScrollBarArray 类的新实例。Initializes a new instance of the VScrollBarArray class. |
| VScrollBarArray(IContainer) |
初始化 VScrollBarArray 类的新实例,并指定其容器。Initializes a new instance of the VScrollBarArray class, specifying its container. |
字段
| components |
存储控件数组的容器。Stores the container for a control array. (继承自 BaseControlArray) |
| controlAddedAtDesignTime |
存储值以跟踪是在设计时还是在运行时创建控件数组中的控件。Stores values to track whether a control in a control array was created at design time or at run time. (继承自 BaseControlArray) |
| controls |
存储表示控件数组中的控件的值。Stores values that represent the controls in a control array. (继承自 BaseControlArray) |
| fIsEndInitCalled |
存储一个值,该值指示控件数组容器的初始化代码是否已经执行完毕。Stores a value indicating whether the initialization code for a control array's container has finished executing. (继承自 BaseControlArray) |
| indices |
存储控件数组的索引。Stores the indices for a control array. (继承自 BaseControlArray) |
属性
| CanRaiseEvents |
获取一个指示组件是否可以引发事件的值。Gets a value indicating whether the component can raise an event. (继承自 Component) |
| Container |
获取包含 IContainer 的 Component。Gets the IContainer that contains the Component. (继承自 Component) |
| DesignMode |
获取一个值,用以指示 Component 当前是否处于设计模式。Gets a value that indicates whether the Component is currently in design mode. (继承自 Component) |
| Events |
获取附加到此 Component 的事件处理程序的列表。Gets the list of event handlers that are attached to this Component. (继承自 Component) |
| Item[Int16] |
通过索引获取 VScrollBarArray 的特定元素。Gets a specific element of a VScrollBarArray by index. 只读。Read-only. |
| Site |
获取或设置 Component 的 ISite。Gets or sets the ISite of the Component. (继承自 Component) |
方法
| BaseCanExtend(Object) |
获取一个值,该值指示控件是否为控件数组的成员。Gets a value that indicates whether a control is a member of a control array. (继承自 BaseControlArray) |
| BaseGetIndex(Object) |
获取控件数组中控件的索引。Gets the index of a control in a control array. (继承自 BaseControlArray) |
| BaseGetItem(Int16) |
获取控件数组中指定索引的控件。Gets the control for a specified index in a control array. (继承自 BaseControlArray) |
| BaseResetIndex(Object) |
在 BaseControlArray 类中不受支持。Not supported in the BaseControlArray class. (继承自 BaseControlArray) |
| BaseSetIndex(Object, Int16, Boolean) |
设置控件数组中控件的索引。Sets the index for a control in a control array. (继承自 BaseControlArray) |
| BaseShouldSerializeIndex(Object) |
返回一个值,该值指示控件是否为控件数组的成员。Returns a value that indicates whether a control is a member of a control array. (继承自 BaseControlArray) |
| CanExtend(Object) |
获取一个值,该值确定控件是否是 VScrollBarArray 的一个成员。Gets a value that determines whether a control is a member of a VScrollBarArray. |
| Count() |
返回控件数组中的控件数。Returns the number of controls in a control array. (继承自 BaseControlArray) |
| CreateObjRef(Type) |
创建一个对象,该对象包含生成用于与远程对象进行通信的代理所需的全部相关信息。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (继承自 MarshalByRefObject) |
| Dispose() |
释放由 Component 使用的所有资源。Releases all resources used by the Component. (继承自 Component) |
| Dispose(Boolean) |
释放控件数组中控件使用的非托管资源,还可以选择释放托管资源。Releases the unmanaged resources that are used by a control in a control array and optionally releases the managed resources. (继承自 BaseControlArray) |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetControlInstanceType() |
重写 GetControlInstanceType()。Overrides GetControlInstanceType(). |
| GetEnumerator() |
返回一个对枚举数对象的引用,该对象用于循环访问控件数组。Returns a reference to an enumerator object, which is used to iterate over a control array. (继承自 BaseControlArray) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetIndex(VScrollBar) |
获取 VScrollBar 中的 VScrollBarArray 的索引。Gets the index of a VScrollBar in a VScrollBarArray. |
| GetLifetimeService() |
已过时。
检索控制此实例的生存期策略的当前生存期服务对象。Retrieves the current lifetime service object that controls the lifetime policy for this instance. (继承自 MarshalByRefObject) |
| GetService(Type) |
返回一个对象,该对象表示由 Component 或它的 Container 提供的服务。Returns an object that represents a service provided by the Component or by its Container. (继承自 Component) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| HookUpControlEvents(Object) |
获取一个值,该值确定控件是否是 VScrollBarArray 的一个成员。Gets a value that determines whether a control is a member of a VScrollBarArray. |
| InitializeLifetimeService() |
已过时。
获取生存期服务对象来控制此实例的生存期策略。Obtains a lifetime service object to control the lifetime policy for this instance. (继承自 MarshalByRefObject) |
| LBound() |
返回的 |
| Load(Int16) |
创建控件数组中的新元素。Creates a new element in a control array. (继承自 BaseControlArray) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 Object) |
| MemberwiseClone(Boolean) |
创建当前 MarshalByRefObject 对象的浅表副本。Creates a shallow copy of the current MarshalByRefObject object. (继承自 MarshalByRefObject) |
| ResetIndex(VScrollBar) |
VScrollBarArray 类不支持 |
| SetIndex(VScrollBar, Int16) |
设置 VScrollBar 中的初始 VScrollBarArray 的索引。Sets the index of the initial VScrollBar in a VScrollBarArray. |
| ShouldSerializeIndex(VScrollBar) |
返回一个值,该值指示 VScrollBar 是否为此 VScrollBarArray 的成员。Returns a value that indicates whether a VScrollBar is a member of this VScrollBarArray. |
| ToString() |
返回包含 Component 的名称的 String(如果有)。Returns a String containing the name of the Component, if any. 不应重写此方法。This method should not be overridden. (继承自 Component) |
| UBound() |
返回的 |
| Unload(Int16) |
从控件数组中移除控件。Removes a control from a control array. (继承自 BaseControlArray) |
事件
| BindingContextChanged |
当 BindingContext 属性的值更改时发生。Occurs when the value of the BindingContext property changes. |
| CausesValidationChanged |
当 CausesValidation 属性的值更改时发生。Occurs when the value of the CausesValidation property changes. |
| ChangeUICues |
焦点或键盘用户界面 (UI) 提示更改时发生。Occurs when the focus or keyboard user interface (UI) cues change. |
| ClientSizeChanged |
当 ClientSize 属性的值更改时发生。Occurs when the value of the ClientSize property changes. |
| ContextMenuChanged |
当 ContextMenu 属性的值更改时发生。Occurs when the value of the ContextMenu property changes. |
| ContextMenuStripChanged |
当 ContextMenuStrip 属性的值更改时发生。Occurs when the value of the ContextMenuStrip property changes. |
| ControlAdded |
在将新控件添加到 VScrollBarArray 时发生。Occurs when a new control is added to the VScrollBarArray. |
| ControlRemoved |
在从 VScrollBarArray 移除控件时发生。Occurs when a control is removed from the VScrollBarArray. |
| CursorChanged |
当 Cursor 属性的值更改时发生。Occurs when the value of the Cursor property changes. |
| Disposed |
在通过调用 Dispose() 方法释放组件时发生。Occurs when the component is disposed by a call to the Dispose() method. (继承自 Component) |
| DockChanged |
当 Dock 属性的值更改时发生。Occurs when the value of the Dock property changes. |
| 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 |
当 Enabled 属性的值更改时发生。Occurs when the value of the Enabled property changes. |
| Enter |
进入控件时发生。Occurs when the control is entered. |
| GiveFeedback |
在执行拖动操作期间发生。Occurs during a drag operation. |
| HelpRequested |
用户请求控件帮助时发生。Occurs when the user requests Help for a control. |
| 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 |
当 Location 属性的值更改时发生。Occurs when the value of the Location property changes. |
| MarginChanged |
当 Margin 属性的值更改时发生。Occurs when the value of the Margin property changes. |
| MouseCaptureChanged |
当控件失去或获得鼠标捕获时发生。Occurs when the control loses or gains mouse capture. |
| 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. |
| Move |
在移动控件时发生。Occurs when the control is moved. |
| PaddingChanged |
当控件的 Padding 属性更改时发生。Occurs when the control's Padding property changes. |
| ParentChanged |
当控件的 Parent 属性更改时发生。Occurs when the control's Parent property changes. |
| QueryAccessibilityHelp |
在 AccessibleObject 为辅助功能应用程序提供帮助时发生。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 |
当 Region 属性的值更改时发生。Occurs when the value of the Region property changes. |
| Resize |
在调整控件大小时发生。Occurs when the control is resized. |
| Scroll |
在用户滚动 VScrollBar 控件时发生。Occurs when the user scrolls the VScrollBar control. |
| SizeChanged |
在 Size 属性值更改时发生。Occurs when the Size property value changes. |
| StyleChanged |
在控件样式更改时发生。Occurs when the control style changes. |
| SystemColorsChanged |
系统颜色更改时发生。Occurs when the system colors change. |
| TabIndexChanged |
在 TabIndex 属性值更改时发生。Occurs when the TabIndex property value changes. |
| TabStopChanged |
在 TabStop 属性值更改时发生。Occurs when the TabStop property value changes. |
| Validated |
在控件完成验证时发生。Occurs when the control is finished validating. |
| Validating |
在控件验证时发生。Occurs when the control is validating. |
| ValueChanged | |
| VisibleChanged |
在 Visible 属性值更改时发生。Occurs when the Visible property value changes. |
显式接口实现
| ISupportInitialize.BeginInit() |
开始控件的初始化。Begins the initialization of the control. (继承自 BaseControlArray) |
| ISupportInitialize.EndInit() |
结束控件的初始化。Ends the initialization of a control. (继承自 BaseControlArray) |