LabelArray Класс
Определение
Внимание!
Microsoft.VisualBasic.Compatibility.* classes are obsolete and supported within 32 bit processes only. http://go.microsoft.com/fwlink/?linkid=160862
public ref class LabelArray : Microsoft::VisualBasic::Compatibility::VB6::BaseControlArray, System::ComponentModel::IExtenderProvider
public class LabelArray : 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 LabelArray : Microsoft.VisualBasic.Compatibility.VB6.BaseControlArray, System.ComponentModel.IExtenderProvider
type LabelArray = 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 LabelArray = class
inherit BaseControlArray
interface IExtenderProvider
Public Class LabelArray
Inherits BaseControlArray
Implements IExtenderProvider
- Наследование
- Атрибуты
- Реализации
Комментарии
LabelArray
Класс предоставляет эквивалент функции времени выполнения массива Visual Basic 6,0 Label
.The LabelArray
class provides an equivalent for the run-time functionality of a Visual Basic 6.0 Label
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.NET Framework.In most cases, these functions and objects duplicate functionality that you can find in other namespaces in the .NET Framework.NET Framework. Они необходимы только в том случае, если модель кода Visual Basic 6.0 значительно отличается от реализации .NET Framework.NET Framework.They are necessary only when the Visual Basic 6.0 code model differs significantly from the .NET Framework.NET Framework implementation.
Конструкторы
LabelArray() |
Инициализирует новый экземпляр класса LabelArray.Initializes a new instance of the LabelArray class. |
LabelArray(IContainer) |
Инициализирует новый экземпляр класса LabelArray посредством задания его контейнера.Initializes a new instance of the LabelArray 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] |
Возвращает конкретный элемент массива LabelArray по индексу.Gets a specific element of a LabelArray by index. Только для чтения.Read-only. |
Site |
Получает или задает ISite объекта Component.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) |
Возвращает значение, которое указывает, является ли элемент управления элементом массива LabelArray.Gets a value that determines whether a control is a member of a LabelArray. |
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(Label) |
Возвращает индекс элемента Label в массиве LabelArray.Gets the index of a Label in a LabelArray. |
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) |
Переопределяет HookUpControlEvents(Object).Overrides HookUpControlEvents(Object). |
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(Label) |
Метод |
SetIndex(Label, Int16) |
Задает индекс начального элемента Label в массиве LabelArray.Sets the index of the initial Label in a LabelArray. |
ShouldSerializeIndex(Label) |
Возвращает значение, указывающее, является ли элемент управления Label элементом массива LabelArray.Returns a value that indicates whether a Label is a member of this LabelArray. |
ToString() |
Возвращает объект String, содержащий имя Component, если оно есть.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) |
События
AutoSizeChanged |
Происходит при изменении значения свойства AutoSize.Occurs when the value of the AutoSize property changes. |
BackColorChanged |
Происходит при изменении значения свойства BackColor.Occurs when the value of the BackColor property changes. |
BindingContextChanged |
Происходит при изменении значения свойства BindingContext.Occurs when the value of the BindingContext property changes. |
CausesValidationChanged |
Происходит при изменении значения свойства CausesValidation.Occurs when the value of the CausesValidation property changes. |
ChangeUICues |
Происходит при получении сигналов на изменение от фокуса или клавиатурного интерфейса.Occurs when the focus or keyboard user interface (UI) cues change. |
Click |
Происходит только при щелчке элемента Label в массиве LabelArray.Occurs when a Label in a LabelArray is clicked. |
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 |
Происходит при добавлении нового элемента управления в массив LabelArray.Occurs when a new control is added to the LabelArray. |
ControlRemoved |
Происходит при удалении элемента управления из LabelArray.Occurs when a control is removed from the LabelArray. |
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. |
DoubleClick |
Происходит только при двойном щелчке элемента управления Label в массиве LabelArray.Occurs when a Label control in a LabelArray 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 |
Происходит при изменении значения свойства Enabled.Occurs when the value of the Enabled property changes. |
Enter |
Происходит при входе в элемент управления.Occurs when the control is entered. |
FontChanged |
Происходит при изменении значения свойства Font.Occurs when the value of the Font property changes. |
ForeColorChanged |
Происходит при изменении значения свойства ForeColor.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. |
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. |
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 |
Происходит при изменении свойства Padding элемента управления.Occurs when the control's Padding property changes. |
Paint |
Происходит при перерисовке элемента управления.Occurs when the control is redrawn. |
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. |
RightToLeftChanged |
Происходит при изменении значения свойства RightToLeftChanged.Occurs when the RightToLeftChanged property value changes. |
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. |
TextAlignChanged |
Происходит при изменении значения свойства TextAlign.Occurs when the TextAlign property value changes. |
TextChanged |
Происходит при изменении значения свойства Text.Occurs when the Text property value changes. |
Validated |
Происходит по завершении проверки элемента управления.Occurs when the control is finished validating. |
Validating |
Возникает при проверке действительности элемента управления.Occurs when the control is validating. |
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) |