System windows forms control controls

Control. Control Collection Класс

Определение

Представляет коллекцию объектов Control. Represents a collection of Control objects.

Примеры

В следующем примере кода удаляется Control из Control.ControlCollection производного класса, Panel если он является членом коллекции. The following code example removes a Control from the Control.ControlCollection of the derived class Panel if it is a member of the collection. В этом примере необходимо создать, Panel Button и хотя бы один RadioButton элемент управления в Form . The example requires that you have created a Panel, a Button, and at least one RadioButton control on a Form. RadioButtonЭлементы управления добавляются в Panel элемент управления, а Panel элемент управления добавляется в Form . The RadioButton controls are added to the Panel control, and the Panel control added to the Form. При нажатии кнопки переключатель radioButton2 удаляется из Control.ControlCollection . When the button is clicked, the radio button named radioButton2 is removed from the Control.ControlCollection.

Комментарии

AddМетоды, Remove и RemoveAt позволяют добавлять и удалять отдельные элементы управления из коллекции. The Add, Remove, and RemoveAt methods enable you to add and remove individual controls from the collection. Можно также использовать AddRange Clear методы или для добавления или удаления всех элементов управления из коллекции. You can also use the AddRange or Clear methods to add or remove all the controls from the collection.

Можно определить, является ли Control член коллекции, передав элемент управления в Contains метод. You can determine if a Control is a member of the collection by passing the control into the Contains method. Чтобы получить значение индекса расположения объекта Control в коллекции, передайте элемент управления в IndexOf метод. To get the index value of the location of a Control in the collection, pass the control into the IndexOf method. Коллекцию можно скопировать в массив, вызвав CopyTo метод. The collection can be copied into an array by calling the CopyTo method.

Конструкторы

Инициализирует новый экземпляр класса Control.ControlCollection. Initializes a new instance of the Control.ControlCollection class.

Свойства

Возвращает количество элементов, содержащихся в коллекции. Gets the number of elements contained in the collection.

Получает количество элементов коллекции. Gets the number of elements in the collection.

(Унаследовано от ArrangedElementCollection) IsReadOnly

Получает значение, указывающее, является ли этот объект коллекции доступным только для чтения. Gets a value that indicates whether this collection object is read-only.

Возвращает значение, указывающее, является ли коллекция доступной только для чтения. Gets a value indicating whether the collection is read-only.

(Унаследовано от ArrangedElementCollection) Item[Int32]

Указывает объект Control, находящийся в заданном индексом местоположении в коллекции. Indicates the Control at the specified indexed location in the collection.

Указывает объект Control с заданным ключом в коллекции. Indicates a Control with the specified key in the collection.

Получает элемент управления, владеющий данной коллекцией Control.ControlCollection. Gets the control that owns this Control.ControlCollection.

Методы

Добавляет указанный элемент управления в коллекцию элементов управления. Adds the specified control to the control collection.

Добавляет массив объектов управления в коллекцию. Adds an array of control objects to the collection.

Удаляет все элементы управления из коллекции. Removes all controls from the collection.

Определяет, является ли указанный элемент управления членом коллекции. Determines whether the specified control is a member of the collection.

Определяет, содержится ли элемент с указанным ключом в коллекции Control.ControlCollection. Determines whether the Control.ControlCollection contains an item with the specified key.

Копирует элементы из коллекции в массив, начиная с определенного индекса массива. Copies the elements of the collection to an array, starting at a particular array index.

Копирует все содержимое этой коллекции в совместимый одномерный массив Array, начиная с указанного индекса конечного массива. Copies the entire contents of this collection to a compatible one-dimensional Array, starting at the specified index of the target array.

(Унаследовано от ArrangedElementCollection) Equals(Object)

Указывает, равен ли текущий объект коллекции указанному объекту. Specifies whether the current collection object and the specified object are equal.

Определяет, равны ли два экземпляра ArrangedElementCollection. Determines whether two ArrangedElementCollection instances are equal.

(Унаследовано от ArrangedElementCollection) Find(String, Boolean)

Выполняет поиск элементов управления по их свойству Name и создает массив из всех элементов управления, которые соответствуют условиям поиска. Searches for controls by their Name property and builds an array of all the controls that match.

Извлекает индекс указанного дочернего элемента управления в коллекции элементов управления. Retrieves the index of the specified child control within the control collection.

Извлекает индекс указанного дочернего элемента управления в коллекции и при необходимости вызывает исключение, если указанный элемент управления не обнаружен в коллекции элементов управления. Retrieves the index of the specified child control within the control collection, and optionally raises an exception if the specified control is not within the control collection.

Извлекает ссылку на объект перечислителя, который используется для итерации по коллекции Control.ControlCollection. Retrieves a reference to an enumerator object that is used to iterate over a Control.ControlCollection.

Возвращает хэш-код данного экземпляра. Returns the hash code for this instance.

Возвращает хэш-код данного экземпляра. Returns the hash code for this instance.

(Унаследовано от ArrangedElementCollection) GetType()

Возвращает объект Type для текущего экземпляра. Gets the Type of the current instance.

(Унаследовано от Object) IndexOf(Control)

Извлекает индекс указанного элемента управления в коллекции элементов управления. Retrieves the index of the specified control in the control collection.

Извлекает индекс первого вхождения заданного элемента в коллекции. Retrieves the index of the first occurrence of the specified item within the collection.

Создает неполную копию текущего объекта Object. Creates a shallow copy of the current Object.

(Унаследовано от Object) Remove(Control)

Удаляет указанный элемент управления из коллекции. Removes the specified control from the control collection.

Удаляет элемент управления из коллекции по указанному расположению индекса. Removes a control from the control collection at the specified indexed location.

Удаляет дочерний элемент управления с указанным ключом. Removes the child control with the specified key.

Задает определенное значение индексу указанного дочернего элемента управления в коллекции. Sets the index of the specified child control in the collection to the specified index value.

Возвращает строку, представляющую текущий объект. Returns a string that represents the current object.

(Унаследовано от Object)

Явные реализации интерфейса

Этот API поддерживает инфраструктуру продукта и не предназначен для использования непосредственно из программного кода.

Описание этого члена см. в разделе Clone(). For a description of this member, see Clone().

Описание этого элемента см. в свойстве IsSynchronized. For a description of this member, see the IsSynchronized property.

(Унаследовано от ArrangedElementCollection) ICollection.SyncRoot

Описание этого элемента см. в свойстве SyncRoot. For a description of this member, see the SyncRoot property.

(Унаследовано от ArrangedElementCollection) IList.Add(Object)

Этот API поддерживает инфраструктуру продукта и не предназначен для использования непосредственно из программного кода.

Описание этого члена см. в разделе Add(Object). For a description of this member, see Add(Object).

Описание этого элемента содержится в методе Clear(). For a description of this member, see the Clear() method.

(Унаследовано от ArrangedElementCollection) IList.Contains(Object)

Этот API поддерживает инфраструктуру продукта и не предназначен для использования непосредственно из программного кода.

Описание этого члена см. в разделе Contains(Object). For a description of this member, see Contains(Object).

Описание этого элемента содержится в методе Contains(Object). For a description of this member, see the Contains(Object) method.

(Унаследовано от ArrangedElementCollection) IList.IndexOf(Object)

Этот API поддерживает инфраструктуру продукта и не предназначен для использования непосредственно из программного кода.

Описание этого члена см. в разделе IndexOf(Object). For a description of this member, see IndexOf(Object).

Описание этого элемента содержится в методе IndexOf(Object). For a description of this member, see the IndexOf(Object) method.

(Унаследовано от ArrangedElementCollection) IList.Insert(Int32, Object)

Этот API поддерживает инфраструктуру продукта и не предназначен для использования непосредственно из программного кода.

Описание этого члена см. в разделе Insert(Int32, Object). For a description of this member, see Insert(Int32, Object).

Описание этого элемента содержится в методе Insert(Int32, Object). For a description of this member, see the Insert(Int32, Object) method.

(Унаследовано от ArrangedElementCollection) IList.IsFixedSize

Описание этого элемента см. в свойстве IsFixedSize. For a description of this member, see the IsFixedSize property.

(Унаследовано от ArrangedElementCollection) IList.Item[Int32]

Описание этого элемента см. в свойстве Item[Int32]. For a description of this member, see the Item[Int32] property.

(Унаследовано от ArrangedElementCollection) IList.Remove(Object)

Этот API поддерживает инфраструктуру продукта и не предназначен для использования непосредственно из программного кода.

Описание этого члена см. в разделе Remove(Object). For a description of this member, see Remove(Object).

Описание этого элемента содержится в методе RemoveAt(Int32). For a description of this member, see the RemoveAt(Int32) method.

(Унаследовано от ArrangedElementCollection)

Методы расширения

Приводит элементы объекта IEnumerable к заданному типу. Casts the elements of an IEnumerable to the specified type.

Выполняет фильтрацию элементов объекта IEnumerable по заданному типу. Filters the elements of an IEnumerable based on a specified type.

Позволяет осуществлять параллельный запрос. Enables parallelization of a query.

Преобразовывает коллекцию IEnumerable в объект IQueryable. Converts an IEnumerable to an IQueryable.

User Control Класс

Определение

Предоставляет пустой элемент управления, который можно использовать для создания других элементов управления. Provides an empty control that can be used to create other controls.

Примеры

В следующем примере кода создается объект UserControl , который можно повторно использовать в нескольких приложениях для получения сведений о пользователе. The following code example creates a UserControl that can be reused in multiple applications to get user information. В этом примере Label TextBox ErrorProvider UserControl для сбора сведений о пользователе добавляется несколько элементов управления, элементов управления и в. This example adds several Label controls, TextBox controls and an ErrorProvider to the UserControl to gather the user’s information. Кроме того, адрес электронной почты пользователя проверяется в Validating событии, TextBox а ErrorProvider объект используется для предоставления пользователю обратной связи в случае сбоя проверки данных. Additionally, the user’s email address is validated in the Validating event of the TextBox and the ErrorProvider object is used to give the user feedback if the data fails validation. Код предназначен для компиляции в библиотеку DLL для справки в других приложениях. The code is intended to be compiled into a DLL for reference in other applications.

Комментарии

Расширяя ContainerControl , UserControl наследует все стандартные код, который требуется для пользовательского элемента управления. By extending ContainerControl, UserControl inherits all the standard positioning and mnemonic-handling code that is necessary in a user control.

UserControlПредоставляет возможность создавать элементы управления, которые можно использовать в нескольких местах в приложении или организации. The UserControl gives you the ability to create controls that can be used in multiple places within an application or organization. Можно включить весь код, необходимый для проверки общих данных, которые пользователь просит ввести. Примерами таких адресов являются адреса электронной почты (см. раздел «пример»), Номера телефонов и почтовые индексы. You can include all the code needed for validation of common data you ask the user to input; some examples of this are email addresses (see Example section), telephone numbers, and postal codes. Еще одним эффективным использованием пользовательского элемента управления является простая Предварительная загрузка ComboBox или ListBox со статическими элементами, которые обычно используются почти в любом приложении. к некоторым примерам относятся страны и регионы, города, Штаты и офисы. Another efficient use of the user control is to simply preload a ComboBox or ListBox with static items you commonly use in almost every application; some examples of this are countries/regions, cities, states, and office locations. Дополнительные сведения о создании пользовательских элементов управления см. в разделе Разработка пользовательских элементов управления Windows Forms с помощью платформа .NET Framework. For more information about authoring custom controls, see Developing Custom Windows Forms Controls with the .NET Framework.

Вы можете создать пространство имен, которое содержит несколько классов пользовательских элементов управления и скомпилировать его в одну библиотеку DLL. You might consider creating a namespace that contains several classes of user controls and compiling it into one DLL. На эту библиотеку DLL можно ссылаться и распространять приложения или все приложения в Организации. This DLL can be referenced and distributed with the application or all applications within an organization. Это дает возможность сослаться на пользовательский элемент управления во многих приложениях и сэкономить время на разметке и кодировании содержащихся в нем элементов пользовательского элемента управления. This gives you the ability to reference the user control in many applications and save time laying out and coding the contained elements of the user control. Пользовательский элемент управления также обеспечивает согласованность в приложениях или между ними. Например, все входные блоки информации об адресах имеют одинаковый внешний вид и поведение. A user control also gives you consistency within or across applications; for example, all address information input blocks will all have the same appearance and behavior. Согласованность дает приложению более профессиональный и профессиональный вид. Consistency gives your application a more polished and professional appearance.

Можно размещать UserControl производные классы Windows Forms в форме, в другой, в UserControl Internet Explorer на веб-странице или внутри WebBrowser элемента управления, размещенного в форме. You can host Windows Forms UserControl derived classes inside of a form, on another UserControl, inside of Internet Explorer on a Web page, or inside a WebBrowser control hosted on a form.

При размещении UserControl внутри WebBrowser элемента управления нельзя отключить стили оформления, используя META значение тега MSThemeCompatible . When hosting a UserControl inside of the WebBrowser control, you cannot turn off Visual Styles using the META tag value MSThemeCompatible . Дополнительные сведения о визуальных стилях см. в разделе Отрисовка элементов управления с помощью визуальных стилей. For more information about Visual Styles, see Rendering Controls with Visual Styles.

Обратите внимание, что для приложений Smartphone этот элемент управления требует наличия программного обеспечения Windows Mobile версии 5,0 для смартфонов. Note that for Smartphone applications, this control requires Windows Mobile Version 5.0 software for Smartphones.

Конструкторы

Инициализирует новый экземпляр класса UserControl. Initializes a new instance of the UserControl class.

Определяет значение свойства AutoScroll. Determines the value of the AutoScroll property.

(Унаследовано от ScrollableControl) ScrollStateFullDrag

Определяет, включил ли пользователь перетаскивание всего окна. Determines whether the user has enabled full window drag.

(Унаследовано от ScrollableControl) ScrollStateHScrollVisible

Определяет, установлено ли для свойства HScroll значение true . Determines whether the value of the HScroll property is set to true .

(Унаследовано от ScrollableControl) ScrollStateUserHasScrolled

Определяет, выполнял ли пользователь прокрутку в элементе управления ScrollableControl. Determines whether the user had scrolled through the ScrollableControl control.

(Унаследовано от ScrollableControl) ScrollStateVScrollVisible

Определяет, установлено ли для свойства VScroll значение true . Determines whether the value of the VScroll property is set to true .

(Унаследовано от ScrollableControl)

Свойства

Получает объект AccessibleObject, назначенный элементу управления. Gets the AccessibleObject assigned to the control.

(Унаследовано от Control) AccessibleDefaultActionDescription

Возвращает или задает описание выполняемого по умолчанию действия элемента управления для использования клиентскими приложениями со специальными возможностями. Gets or sets the default action description of the control for use by accessibility client applications.

(Унаследовано от Control) AccessibleDescription

Возвращает или задает описание элемента управления, используемого клиентскими приложениями со специальными возможностями. Gets or sets the description of the control used by accessibility client applications.

(Унаследовано от Control) AccessibleName

Возвращает или задает имя элемента управления, используемого клиентскими приложениями со специальными возможностями. Gets or sets the name of the control used by accessibility client applications.

(Унаследовано от Control) AccessibleRole

Возвращает или задает доступную роль элемента управления. Gets or sets the accessible role of the control.

(Унаследовано от Control) ActiveControl

Возвращает или задает активный элемент управления в контейнере. Gets or sets the active control on the container control.

(Унаследовано от ContainerControl) AllowDrop

Возвращает или задает значение, указывающее, может ли элемент управления принимать данные, перетаскиваемые в него пользователем. Gets or sets a value indicating whether the control can accept data that the user drags onto it.

(Унаследовано от Control) Anchor

Возвращает или задает границы контейнера, с которым связан элемент управления, и определяет способ изменения размеров элемента управления при изменении размеров его родительского элемента. Gets or sets the edges of the container to which a control is bound and determines how a control is resized with its parent.

(Унаследовано от Control) AutoScaleDimensions

Возвращает или задает размеры, заданные для этого элемента управления при разработке. Gets or sets the dimensions that the control was designed to.

(Унаследовано от ContainerControl) AutoScaleFactor

Получает коэффициент масштабирования между текущими измерениями и автоматически масштабируемыми измерениями во время проектирования. Gets the scaling factor between the current and design-time automatic scaling dimensions.

(Унаследовано от ContainerControl) AutoScaleMode

Возвращает или задает режим автоматического масштабирования элемента управления. Gets or sets the automatic scaling mode of the control.

(Унаследовано от ContainerControl) AutoScroll

Получает или задает значение, указывающее, будет ли контейнер давать возможность пользователю выполнять прокрутку любых элементов управления, помещенных вне его отображаемых границ. Gets or sets a value indicating whether the container enables the user to scroll to any controls placed outside of its visible boundaries.

(Унаследовано от ScrollableControl) AutoScrollMargin

Возвращает или задает размер поля автоматической прокрутки. Gets or sets the size of the auto-scroll margin.

(Унаследовано от ScrollableControl) AutoScrollMinSize

Получает или задает минимальный размер для автоматической прокрутки. Gets or sets the minimum size of the auto-scroll.

(Унаследовано от ScrollableControl) AutoScrollOffset

Возвращает или задает местоположение, в котором выполняется прокрутка этого элемента управления в ScrollControlIntoView(Control). Gets or sets where this control is scrolled to in ScrollControlIntoView(Control).

(Унаследовано от Control) AutoScrollPosition

Получает или задает местоположение позиции автоматической прокрутки. Gets or sets the location of the auto-scroll position.

(Унаследовано от ScrollableControl) AutoSize

Данное свойство не применимо к этому классу. This property is not relevant for this class.

Данное свойство не применимо к этому классу. This property is not relevant for this class.

(Унаследовано от Control) AutoSizeMode

Получает или задает изменение элемента управления собственных размеров. Gets or sets how the control will resize itself.

Возвращает или задает способ проверки, выполняемой элементом управления при перемещении пользователем фокуса на другой элемент управления. Gets or sets how the control performs validation when the user changes focus to another control.

Возвращает или задает значение, указывающее, будут ли элементы управления в этом контейнере автоматически проверены при изменении фокуса. Gets or sets a value that indicates whether controls in this container will be automatically validated when the focus changes.

(Унаследовано от ContainerControl) BackColor

Возвращает или задает цвет фона для элемента управления. Gets or sets the background color for the control.

(Унаследовано от Control) BackgroundImage

Возвращает или задает фоновое изображение, отображаемое на элементе управления. Gets or sets the background image displayed in the control.

(Унаследовано от Control) BackgroundImageLayout

Возвращает или задает макет фонового изображения в соответствии с перечислением ImageLayout. Gets or sets the background image layout as defined in the ImageLayout enumeration.

(Унаследовано от Control) BindingContext

Возвращает или задает значение BindingContext для элемента управления. Gets or sets the BindingContext for the control.

(Унаследовано от ContainerControl) BorderStyle

Возвращает или задает стиль границы пользовательского элемента управления. Gets or sets the border style of the user control.

Читайте также:  Windows 10 format usb diskpart

Возвращает расстояние в пикселях между нижней границей элемента управления и верхней границей клиентской области контейнера. Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container’s client area.

(Унаследовано от Control) Bounds

Возвращает или задает размер и местоположение (в пикселях) элемента управления, включая его неклиентские элементы, относительно его родительского элемента управления. Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.

(Унаследовано от Control) CanEnableIme

Получает значение, указывающее, можно ли для свойства ImeMode установить активное значение с целью включения поддержки IME. Gets a value indicating whether the ImeMode property can be set to an active value, to enable IME support.

(Унаследовано от ContainerControl) CanFocus

Возвращает значение, указывающее, может ли элемент управления получать фокус. Gets a value indicating whether the control can receive focus.

(Унаследовано от Control) CanRaiseEvents

Определяет, могут ли вызываться события в элементе управления. Determines if events can be raised on the control.

(Унаследовано от Control) CanSelect

Возвращает значение, указывающее, доступен ли элемент управления для выбора. Gets a value indicating whether the control can be selected.

(Унаследовано от Control) Capture

Возвращает или задает значение, указывающее, была ли мышь захвачена элементом управления. Gets or sets a value indicating whether the control has captured the mouse.

(Унаследовано от Control) CausesValidation

Возвращает или задает значение, указывающее, вызывает ли элемент управления выполнение проверки для всех элементов управления, требующих проверки, при получении фокуса. Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.

(Унаследовано от Control) ClientRectangle

Возвращает прямоугольник, представляющий клиентскую область элемента управления. Gets the rectangle that represents the client area of the control.

(Унаследовано от Control) ClientSize

Возвращает или задает высоту и ширину клиентской области элемента управления. Gets or sets the height and width of the client area of the control.

(Унаследовано от Control) CompanyName

Возвращает название организации или имя создателя приложения, содержащего элемент управления. Gets the name of the company or creator of the application containing the control.

(Унаследовано от Control) Container

Возвращает объект IContainer, который содержит коллекцию Component. Gets the IContainer that contains the Component.

(Унаследовано от Component) ContainsFocus

Возвращает значение, указывающее, имеет ли элемент управления или один из его дочерних элементов фокус ввода в настоящий момент. Gets a value indicating whether the control, or one of its child controls, currently has the input focus.

(Унаследовано от Control) ContextMenu

Возвращает или задает контекстное меню, связанное с элементом управления. Gets or sets the shortcut menu associated with the control.

(Унаследовано от Control) ContextMenuStrip

Возвращает или задает объект ContextMenuStrip, сопоставленный с этим элементом управления. Gets or sets the ContextMenuStrip associated with this control.

(Унаследовано от Control) Controls

Возвращает коллекцию элементов управления, содержащихся в элементе управления. Gets the collection of controls contained within the control.

(Унаследовано от Control) Created

Возвращает значение, указывающее, был ли создан элемент управления. Gets a value indicating whether the control has been created.

(Унаследовано от Control) CreateParams

Возвращает параметры, необходимые для создания дескриптора элемента управления. Gets the required creation parameters when the control handle is created.

Возвращает параметры, необходимые для создания дескриптора элемента управления. Gets the required creation parameters when the control handle is created.

(Унаследовано от ContainerControl) CurrentAutoScaleDimensions

Возвращает текущие измерения экрана во время выполнения. Gets the current run-time dimensions of the screen.

(Унаследовано от ContainerControl) Cursor

Возвращает или задает курсор, отображаемый, когда указатель мыши находится на элементе управления. Gets or sets the cursor that is displayed when the mouse pointer is over the control.

(Унаследовано от Control) DataBindings

Возвращает привязки данных для элемента управления. Gets the data bindings for the control.

(Унаследовано от Control) DefaultCursor

Возвращает или задает курсор по умолчанию для элемента управления. Gets or sets the default cursor for the control.

(Унаследовано от Control) DefaultImeMode

Возвращает стандартный режим редактора методов ввода, поддерживаемый данным элементом управления. Gets the default Input Method Editor (IME) mode supported by the control.

(Унаследовано от Control) DefaultMargin

Возвращает размер пустого пространства в пикселях между элементами управления, которое определено по умолчанию. Gets the space, in pixels, that is specified by default between controls.

(Унаследовано от Control) DefaultMaximumSize

Возвращает длину и высоту в пикселях, которые были указаны в качестве максимального размера элемента управления. Gets the length and height, in pixels, that is specified as the default maximum size of a control.

(Унаследовано от Control) DefaultMinimumSize

Возвращает длину и высоту в пикселях, которые были указаны в качестве минимального размера элемента управления. Gets the length and height, in pixels, that is specified as the default minimum size of a control.

(Унаследовано от Control) DefaultPadding

Возвращает внутренние промежутки в содержимом элемента управления в пикселях. Gets the internal spacing, in pixels, of the contents of a control.

(Унаследовано от Control) DefaultSize

Получает размер элемента управления по умолчанию. Gets the default size of the control.

Возвращает значение, указывающее, находится ли данный компонент Component в режиме конструктора в настоящее время. Gets a value that indicates whether the Component is currently in design mode.

(Унаследовано от Component) DeviceDpi

Получает значение DPI для устройства, на котором сейчас отображается элемент управления. Gets the DPI value for the display device where the control is currently being displayed.

(Унаследовано от Control) DisplayRectangle

Получает прямоугольник, представляющий виртуальную отображаемую область элемента управления. Gets the rectangle that represents the virtual display area of the control.

(Унаследовано от ScrollableControl) Disposing

Получает значение, указывающее, находится ли базовый класс Control в процессе удаления. Gets a value indicating whether the base Control class is in the process of disposing.

(Унаследовано от Control) Dock

Возвращает или задает границы элемента управления, прикрепленные к его родительскому элементу управления, и определяет способ изменения размеров элемента управления с его родительским элементом управления. Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent.

(Унаследовано от Control) DockPadding

Получает параметры заполнения прикрепления для всех краев элемента управления. Gets the dock padding settings for all edges of the control.

(Унаследовано от ScrollableControl) DoubleBuffered

Возвращает или задает значение, указывающее, должна ли поверхность этого элемента управления перерисовываться с помощью дополнительного буфера, чтобы уменьшить или предотвратить мерцание. Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.

(Унаследовано от Control) Enabled

Возвращает или задает значение, указывающее, может ли элемент управления отвечать на действия пользователя. Gets or sets a value indicating whether the control can respond to user interaction.

(Унаследовано от Control) Events

Возвращает список обработчиков событий, которые прикреплены к этому объекту Component. Gets the list of event handlers that are attached to this Component.

(Унаследовано от Component) Focused

Возвращает значение, указывающее, имеется ли на элементе управления фокус ввода. Gets a value indicating whether the control has input focus.

(Унаследовано от Control) Font

Возвращает или задает шрифт текста, отображаемого элементом управления. Gets or sets the font of the text displayed by the control.

(Унаследовано от Control) FontHeight

Возвращает или задает высоту шрифта элемента управления. Gets or sets the height of the font of the control.

(Унаследовано от Control) ForeColor

Возвращает или задает цвет элемента управления. Gets or sets the foreground color of the control.

(Унаследовано от Control) Handle

Возвращает дескриптор окна, с которым связан элемент управления. Gets the window handle that the control is bound to.

(Унаследовано от Control) HasChildren

Возвращает значение, указывающее, содержит ли элемент управления один или несколько дочерних элементов. Gets a value indicating whether the control contains one or more child controls.

(Унаследовано от Control) Height

Возвращает или задает высоту элемента управления. Gets or sets the height of the control.

(Унаследовано от Control) HorizontalScroll

Получает характеристики, связанные с горизонтальной полосой прокрутки. Gets the characteristics associated with the horizontal scroll bar.

(Унаследовано от ScrollableControl) HScroll

Получает или задает значение, показывающее, отображается ли горизонтальная полоса прокрутки. Gets or sets a value indicating whether the horizontal scroll bar is visible.

(Унаследовано от ScrollableControl) ImeMode

Возвращает или задает режим редактора метода ввода элемента управления. Gets or sets the Input Method Editor (IME) mode of the control.

(Унаследовано от Control) ImeModeBase

Получает или задает режим IME элемента управления. Gets or sets the IME mode of a control.

(Унаследовано от Control) InvokeRequired

Возвращает значение, указывающее, следует ли вызывающему оператору обращаться к методу invoke во время вызовов метода из элемента управления, так как вызывающий оператор находится не в том потоке, в котором был создан элемент управления. Gets a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.

(Унаследовано от Control) IsAccessible

Возвращает или задает значение, указывающее, является ли элемент управления видимым для приложений со специальными возможностями. Gets or sets a value indicating whether the control is visible to accessibility applications.

(Унаследовано от Control) IsDisposed

Возвращает значение, указывающее, был ли удален элемент управления. Gets a value indicating whether the control has been disposed of.

(Унаследовано от Control) IsHandleCreated

Возвращает значение, указывающее, имеется ли у элемента управления связанный с ним дескриптор. Gets a value indicating whether the control has a handle associated with it.

(Унаследовано от Control) IsMirrored

Возвращает значение, указывающее, отображается ли зеркально элемент управления. Gets a value indicating whether the control is mirrored.

(Унаследовано от Control) LayoutEngine

Получает кэшированный экземпляр механизма размещения элемента управления. Gets a cached instance of the control’s layout engine.

(Унаследовано от Control) Left

Возвращает или задает расстояние в пикселях между левой границей элемента управления и левой границей клиентской области его контейнера. Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container’s client area.

(Унаследовано от Control) Location

Возвращает или задает координаты левого верхнего угла элемента управления относительно левого верхнего угла его контейнера. Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.

(Унаследовано от Control) Margin

Возвращает или задает расстояние между элементами управления. Gets or sets the space between controls.

(Унаследовано от Control) MaximumSize

Возвращает или задает размер, являющийся верхней границей, которую может указать метод GetPreferredSize(Size). Gets or sets the size that is the upper limit that GetPreferredSize(Size) can specify.

(Унаследовано от Control) MinimumSize

Возвращает или задает размер, являющийся нижней границей, которую может указать метод GetPreferredSize(Size). Gets or sets the size that is the lower limit that GetPreferredSize(Size) can specify.

(Унаследовано от Control) Name

Возвращает или задает имя элемента управления. Gets or sets the name of the control.

(Унаследовано от Control) Padding

Возвращает или задает заполнение в элементе управления. Gets or sets padding within the control.

(Унаследовано от Control) Parent

Возвращает или задает родительский контейнер элемента управления. Gets or sets the parent container of the control.

(Унаследовано от Control) ParentForm

Возвращает форму, которой назначен данный элемент управления типа «контейнер». Gets the form that the container control is assigned to.

(Унаследовано от ContainerControl) PreferredSize

Возвращает размер прямоугольной области, в которую может поместиться элемент управления. Gets the size of a rectangular area into which the control can fit.

(Унаследовано от Control) ProductName

Возвращает имя продукта сборки, содержащей элемент управления. Gets the product name of the assembly containing the control.

(Унаследовано от Control) ProductVersion

Возвращает версию сборки, содержащую элемент управления. Gets the version of the assembly containing the control.

(Унаследовано от Control) RecreatingHandle

Возвращает значение, указывающее, осуществляет ли в настоящий момент элемент управления повторное создание дескриптора. Gets a value indicating whether the control is currently re-creating its handle.

(Унаследовано от Control) Region

Возвращает или задает область окна, связанную с элементом управления. Gets or sets the window region associated with the control.

(Унаследовано от Control) RenderRightToLeft

Это свойство устарело. This property is now obsolete.

(Унаследовано от Control) ResizeRedraw

Возвращает или задает значение, указывающее, перерисовывается ли элемент управления при изменении размеров. Gets or sets a value indicating whether the control redraws itself when resized.

(Унаследовано от Control) Right

Возвращает расстояние в пикселях между правой границей элемента управления и левой границей клиентской области его контейнера. Gets the distance, in pixels, between the right edge of the control and the left edge of its container’s client area.

(Унаследовано от Control) RightToLeft

Возвращает или задает значение, указывающее, выровнены ли компоненты элемента управления для поддержки языков, использующих шрифты с написанием справа налево. Gets or sets a value indicating whether control’s elements are aligned to support locales using right-to-left fonts.

(Унаследовано от Control) ScaleChildren

Получает значение, определяющее масштабирование дочерних элементов управления. Gets a value that determines the scaling of child controls.

(Унаследовано от Control) ShowFocusCues

Возвращает значение, указывающее, должен ли элемент управления отображать прямоугольники фокуса. Gets a value indicating whether the control should display focus rectangles.

(Унаследовано от Control) ShowKeyboardCues

Возвращает значение, указывающее, имеет ли пользовательский интерфейс соответствующее состояние, при котором отображаются или скрываются сочетания клавиш. Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.

(Унаследовано от Control) Site

Возвращает или задает местонахождение элемента управления. Gets or sets the site of the control.

(Унаследовано от Control) Size

Возвращает или задает высоту и ширину элемента управления. Gets or sets the height and width of the control.

(Унаследовано от Control) TabIndex

Возвращает или задает последовательность перехода по клавише TAB между элементами управления внутри контейнера. Gets or sets the tab order of the control within its container.

(Унаследовано от Control) TabStop

Возвращает или задает значение, указывающее, может ли пользователь перевести фокус на данный элемент управления при помощи клавиши TAB. Gets or sets a value indicating whether the user can give the focus to this control using the TAB key.

(Унаследовано от Control) Tag

Возвращает или задает объект, содержащий данные об элементе управления. Gets or sets the object that contains data about the control.

(Унаследовано от Control) Text

Возвращает или задает текст, связанный с этим элементом управления. Gets or sets the text associated with this control.

Возвращает или задает расстояние в пикселях между верхней границей элемента управления и верхней границей клиентской области его контейнера. Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container’s client area.

(Унаследовано от Control) TopLevelControl

Получает родительский элемент управления, не имеющий другого родительского элемента управления Windows Forms. Gets the parent control that is not parented by another Windows Forms control. Как правило, им является внешний объект Form, в котором содержится элемент управления. Typically, this is the outermost Form that the control is contained in.

(Унаследовано от Control) UseWaitCursor

Возвращает или задает значение, указывающее, следует ли использовать курсор ожидания для текущего элемента управления и всех дочерних элементов управления. Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls.

(Унаследовано от Control) VerticalScroll

Получает характеристики, связанные с вертикальной полосой прокрутки. Gets the characteristics associated with the vertical scroll bar.

(Унаследовано от ScrollableControl) Visible

Возвращает или задает значение, указывающее, отображаются ли элемент управления и все его дочерние элементы управления. Gets or sets a value indicating whether the control and all its child controls are displayed.

(Унаследовано от Control) VScroll

Получает или задает значение, показывающее, отображается ли вертикальная полоса прокрутки. Gets or sets a value indicating whether the vertical scroll bar is visible.

(Унаследовано от ScrollableControl) Width

Возвращает или задает ширину элемента управления. Gets or sets the width of the control.

(Унаследовано от Control) WindowTarget

Данное свойство не применимо к этому классу. This property is not relevant for this class.

(Унаследовано от Control)

Методы

Уведомляет клиентские приложения со специальными возможностями об указанном перечислении AccessibleEvents для указанного дочернего элемента управления. Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.

(Унаследовано от Control) AccessibilityNotifyClients(AccessibleEvents, Int32, Int32)

Уведомляет клиентские приложения со специальными возможностями об указанном перечислении AccessibleEvents для указанного дочернего элемента управления. Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control .

(Унаследовано от Control) AdjustFormScrollbars(Boolean)

Настраивает полосы прокрутки в контейнере на основе текущей позиции элемента управления и выбранного в данный момент элемента управления. Adjusts the scroll bars on the container based on the current control positions and the control currently selected.

(Унаследовано от ContainerControl) BeginInvoke(Delegate)

Выполняет указанный делегат асинхронно в потоке, в котором был создан базовый дескриптор элемента управления. Executes the specified delegate asynchronously on the thread that the control’s underlying handle was created on.

(Унаследовано от Control) BeginInvoke(Delegate, Object[])

Выполняет указанный делегат асинхронно с указанными аргументами в потоке, в котором был создан базовый дескриптор элемента управления. Executes the specified delegate asynchronously with the specified arguments, on the thread that the control’s underlying handle was created on.

(Унаследовано от Control) BringToFront()

Помещает элемент управления в начало z-порядка. Brings the control to the front of the z-order.

(Унаследовано от Control) Contains(Control)

Возвращает значение, указывающее, является ли указанный элемент управления дочерним элементом. Retrieves a value indicating whether the specified control is a child of the control.

(Унаследовано от Control) CreateAccessibilityInstance()

Создает для элемента управления новый объект с поддержкой специальных возможностей. Creates a new accessibility object for the control.

(Унаследовано от Control) CreateControl()

Вызывает принудительное создание видимого элемента управления, включая создание дескриптора и всех видимых дочерних элементов. Forces the creation of the visible control, including the creation of the handle and any visible child controls.

(Унаследовано от Control) CreateControlsInstance()

Создает новый экземпляр коллекции элементов управления для данного элемента управления. Creates a new instance of the control collection for the control.

(Унаследовано от Control) CreateGraphics()

Создает объект Graphics для элемента управления. Creates the Graphics for the control.

(Унаследовано от Control) CreateHandle()

Создает дескриптор для элемента управления. Creates a handle for the control.

(Унаследовано от Control) CreateObjRef(Type)

Создает объект, который содержит всю необходимую информацию для создания прокси-сервера, используемого для взаимодействия с удаленным объектом. Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

Читайте также:  Windows 10 обновить время через командную строку

(Унаследовано от MarshalByRefObject) DefWndProc(Message)

Отправляет заданное сообщение процедуре окна, используемой по умолчанию. Sends the specified message to the default window procedure.

(Унаследовано от Control) DestroyHandle()

Удаляет дескриптор, связанный с элементом управления. Destroys the handle associated with the control.

(Унаследовано от Control) Dispose()

Освобождает все ресурсы, занятые модулем Component. Releases all resources used by the Component.

(Унаследовано от Component) Dispose(Boolean)

Освобождает неуправляемые ресурсы, используемые объектом Control и его дочерними элементами управления (при необходимости освобождает и управляемые ресурсы). Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.

(Унаследовано от ContainerControl) DoDragDrop(Object, DragDropEffects)

Начинает операцию перетаскивания. Begins a drag-and-drop operation.

(Унаследовано от Control) DrawToBitmap(Bitmap, Rectangle)

Поддерживает отрисовку в указанном точечном рисунке. Supports rendering to the specified bitmap.

(Унаследовано от Control) EndInvoke(IAsyncResult)

Получает возвращаемое значение асинхронной операции, представленное переданным объектом IAsyncResult. Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.

(Унаследовано от Control) Equals(Object)

Определяет, равен ли указанный объект текущему объекту. Determines whether the specified object is equal to the current object.

(Унаследовано от Object) FindForm()

Возвращает форму, в которой находится элемент управления. Retrieves the form that the control is on.

(Унаследовано от Control) Focus()

Устанавливает фокус ввода на элемент управления. Sets input focus to the control.

(Унаследовано от Control) GetAccessibilityObjectById(Int32)

Получает указанный объект AccessibleObject. Retrieves the specified AccessibleObject.

(Унаследовано от Control) GetAutoSizeMode()

Получает значение, указывающее, как будет вести себя элемент управления, когда его свойство AutoSize включено. Retrieves a value indicating how a control will behave when its AutoSize property is enabled.

(Унаследовано от Control) GetChildAtPoint(Point)

Возвращает дочерний элемент управления, имеющий указанные координаты. Retrieves the child control that is located at the specified coordinates.

(Унаследовано от Control) GetChildAtPoint(Point, GetChildAtPointSkip)

Возвращает дочерний элемент управления, расположенный по указанным координатам, определяя, следует ли игнорировать дочерние элементы управления конкретного типа. Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.

(Унаследовано от Control) GetContainerControl()

Возвращает следующий объект ContainerControl в цепочке родительских элементов управления данного элемента. Returns the next ContainerControl up the control’s chain of parent controls.

(Унаследовано от Control) GetHashCode()

Служит хэш-функцией по умолчанию. Serves as the default hash function.

(Унаследовано от Object) GetLifetimeService()

Извлекает объект обслуживания во время существования, который управляет политикой времени существования данного экземпляра. Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Унаследовано от MarshalByRefObject) GetNextControl(Control, Boolean)

Возвращает следующий или предыдущий элемент среди дочерних элементов управления в последовательности клавиши TAB. Retrieves the next control forward or back in the tab order of child controls.

(Унаследовано от Control) GetPreferredSize(Size)

Вычисляет размер прямоугольной области, в которую помещается элемент управления. Retrieves the size of a rectangular area into which a control can be fitted.

(Унаследовано от Control) GetScaledBounds(Rectangle, SizeF, BoundsSpecified)

Возвращает границы, внутри которых масштабируется элемент управления. Retrieves the bounds within which the control is scaled.

(Унаследовано от Control) GetScrollState(Int32)

Определяет, установлен ли указанный флаг. Determines whether the specified flag has been set.

(Унаследовано от ScrollableControl) GetService(Type)

Возвращает объект, представляющий службу, предоставляемую классом Component или классом Container. Returns an object that represents a service provided by the Component or by its Container.

(Унаследовано от Component) GetStyle(ControlStyles)

Возвращает значение указанного бита стиля элемента управления для данного элемента управления. Retrieves the value of the specified control style bit for the control.

(Унаследовано от Control) GetTopLevel()

Определяет, находится ли элемент управления на верхнем уровне. Determines if the control is a top-level control.

(Унаследовано от Control) GetType()

Возвращает объект Type для текущего экземпляра. Gets the Type of the current instance.

(Унаследовано от Object) Hide()

Скрывает элемент управления от пользователя. Conceals the control from the user.

(Унаследовано от Control) InitializeLifetimeService()

Получает объект службы времени существования для управления политикой времени существования для этого экземпляра. Obtains a lifetime service object to control the lifetime policy for this instance.

(Унаследовано от MarshalByRefObject) InitLayout()

Вызывается после добавления элемента управления в другой контейнер. Called after the control has been added to another container.

(Унаследовано от Control) Invalidate()

Делает недействительной всю поверхность элемента управления и вызывает его перерисовку. Invalidates the entire surface of the control and causes the control to be redrawn.

(Унаследовано от Control) Invalidate(Boolean)

Делает недействительной конкретную область элемента управления и вызывает отправку сообщения рисования элементу управления. Invalidates a specific region of the control and causes a paint message to be sent to the control. При необходимости объявляет недействительными назначенные элементу управления дочерние элементы. Optionally, invalidates the child controls assigned to the control.

(Унаследовано от Control) Invalidate(Rectangle)

Делает недействительной указанную область элемента управления (добавляет ее к области обновления элемента, которая будет перерисована при следующей операции рисования) и вызывает отправку сообщения рисования элементу управления. Invalidates the specified region of the control (adds it to the control’s update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.

(Унаследовано от Control) Invalidate(Rectangle, Boolean)

Делает недействительной указанную область элемента управления (добавляет ее к области обновления элемента, которая будет перерисована при следующей операции рисования) и вызывает отправку сообщения рисования элементу управления. Invalidates the specified region of the control (adds it to the control’s update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. При необходимости объявляет недействительными назначенные элементу управления дочерние элементы. Optionally, invalidates the child controls assigned to the control.

(Унаследовано от Control) Invalidate(Region)

Делает недействительной указанную область элемента управления (добавляет ее к области обновления элемента, которая будет перерисована при следующей операции рисования) и вызывает отправку сообщения рисования элементу управления. Invalidates the specified region of the control (adds it to the control’s update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control.

(Унаследовано от Control) Invalidate(Region, Boolean)

Делает недействительной указанную область элемента управления (добавляет ее к области обновления элемента, которая будет перерисована при следующей операции рисования) и вызывает отправку сообщения рисования элементу управления. Invalidates the specified region of the control (adds it to the control’s update region, which is the area that will be repainted at the next paint operation), and causes a paint message to be sent to the control. При необходимости объявляет недействительными назначенные элементу управления дочерние элементы. Optionally, invalidates the child controls assigned to the control.

(Унаследовано от Control) Invoke(Delegate)

Выполняет указанный делегат в том потоке, которому принадлежит базовый дескриптор окна элемента управления. Executes the specified delegate on the thread that owns the control’s underlying window handle.

(Унаследовано от Control) Invoke(Delegate, Object[])

Выполняет указанный делегат в том потоке, которому принадлежит основной дескриптор окна элемента управления, с указанным списком аргументов. Executes the specified delegate, on the thread that owns the control’s underlying window handle, with the specified list of arguments.

(Унаследовано от Control) InvokeGotFocus(Control, EventArgs)

Вызывает событие GotFocus для указанного элемента управления. Raises the GotFocus event for the specified control.

(Унаследовано от Control) InvokeLostFocus(Control, EventArgs)

Вызывает событие LostFocus для указанного элемента управления. Raises the LostFocus event for the specified control.

(Унаследовано от Control) InvokeOnClick(Control, EventArgs)

Вызывает событие Click для указанного элемента управления. Raises the Click event for the specified control.

(Унаследовано от Control) InvokePaint(Control, PaintEventArgs)

Вызывает событие Paint для указанного элемента управления. Raises the Paint event for the specified control.

(Унаследовано от Control) InvokePaintBackground(Control, PaintEventArgs)

Вызывает событие PaintBackground для указанного элемента управления. Raises the PaintBackground event for the specified control.

(Унаследовано от Control) IsInputChar(Char)

Определяет, является ли символ входным символом, который распознается элементом управления. Determines if a character is an input character that the control recognizes.

(Унаследовано от Control) IsInputKey(Keys)

Определяет, является ли заданная клавиша обычной клавишей ввода или специальной клавишей, нуждающейся в предварительной обработке. Determines whether the specified key is a regular input key or a special key that requires preprocessing.

(Унаследовано от Control) LogicalToDeviceUnits(Int32)

Преобразует логическое значение DPI в эквивалентное значение DPI DeviceUnit. Converts a Logical DPI value to its equivalent DeviceUnit DPI value.

(Унаследовано от Control) LogicalToDeviceUnits(Size)

Преобразует размер из логических единиц в единицы устройства путем его масштабирования к текущему DPI и округлением вниз до ближайшего целого значения ширины и высоты. Transforms a size from logical to device units by scaling it for the current DPI and rounding down to the nearest integer value for width and height.

(Унаследовано от Control) MemberwiseClone()

Создает неполную копию текущего объекта Object. Creates a shallow copy of the current Object.

(Унаследовано от Object) MemberwiseClone(Boolean)

Создает неполную копию текущего объекта MarshalByRefObject. Creates a shallow copy of the current MarshalByRefObject object.

(Унаследовано от MarshalByRefObject) NotifyInvalidate(Rectangle)

Вызывает событие Invalidated, чтобы сделать недействительной указанную область элемента управления. Raises the Invalidated event with a specified region of the control to invalidate.

(Унаследовано от Control) OnAutoSizeChanged(EventArgs)

Вызывает событие AutoSizeChanged. Raises the AutoSizeChanged event.

(Унаследовано от Control) OnAutoValidateChanged(EventArgs)

(Унаследовано от ContainerControl) OnBackColorChanged(EventArgs)

Вызывает событие BackColorChanged. Raises the BackColorChanged event.

(Унаследовано от Control) OnBackgroundImageChanged(EventArgs)

(Унаследовано от Control) OnBackgroundImageLayoutChanged(EventArgs)

(Унаследовано от Control) OnBindingContextChanged(EventArgs)

(Унаследовано от Control) OnCausesValidationChanged(EventArgs)

(Унаследовано от Control) OnChangeUICues(UICuesEventArgs)

Вызывает событие ChangeUICues. Raises the ChangeUICues event.

(Унаследовано от Control) OnClick(EventArgs)

Вызывает событие Click. Raises the Click event.

(Унаследовано от Control) OnClientSizeChanged(EventArgs)

(Унаследовано от Control) OnContextMenuChanged(EventArgs)

(Унаследовано от Control) OnContextMenuStripChanged(EventArgs)

(Унаследовано от Control) OnControlAdded(ControlEventArgs)

Вызывает событие ControlAdded. Raises the ControlAdded event.

(Унаследовано от Control) OnControlRemoved(ControlEventArgs)

Вызывает событие ControlRemoved. Raises the ControlRemoved event.

(Унаследовано от Control) OnCreateControl()

Вызывает событие CreateControl . Raises the CreateControl event.

Вызывает событие CursorChanged. Raises the CursorChanged event.

(Унаследовано от Control) OnDockChanged(EventArgs)

Вызывает событие DockChanged. Raises the DockChanged event.

(Унаследовано от Control) OnDoubleClick(EventArgs)

Вызывает событие DoubleClick. Raises the DoubleClick event.

(Унаследовано от Control) OnDpiChangedAfterParent(EventArgs)

(Унаследовано от Control) OnDpiChangedBeforeParent(EventArgs)

(Унаследовано от Control) OnDragDrop(DragEventArgs)

Вызывает событие DragDrop. Raises the DragDrop event.

(Унаследовано от Control) OnDragEnter(DragEventArgs)

Вызывает событие DragEnter. Raises the DragEnter event.

(Унаследовано от Control) OnDragLeave(EventArgs)

Вызывает событие DragLeave. Raises the DragLeave event.

(Унаследовано от Control) OnDragOver(DragEventArgs)

Вызывает событие DragOver. Raises the DragOver event.

(Унаследовано от Control) OnEnabledChanged(EventArgs)

Вызывает событие EnabledChanged. Raises the EnabledChanged event.

(Унаследовано от Control) OnEnter(EventArgs)

Вызывает событие Enter. Raises the Enter event.

(Унаследовано от Control) OnFontChanged(EventArgs)

Вызывает событие FontChanged. Raises the FontChanged event.

(Унаследовано от ContainerControl) OnForeColorChanged(EventArgs)

Вызывает событие ForeColorChanged. Raises the ForeColorChanged event.

(Унаследовано от Control) OnGiveFeedback(GiveFeedbackEventArgs)

Вызывает событие GiveFeedback. Raises the GiveFeedback event.

(Унаследовано от Control) OnGotFocus(EventArgs)

Вызывает событие GotFocus. Raises the GotFocus event.

(Унаследовано от Control) OnHandleCreated(EventArgs)

Вызывает событие HandleCreated. Raises the HandleCreated event.

(Унаследовано от Control) OnHandleDestroyed(EventArgs)

Вызывает событие HandleDestroyed. Raises the HandleDestroyed event.

(Унаследовано от Control) OnHelpRequested(HelpEventArgs)

Вызывает событие HelpRequested. Raises the HelpRequested event.

(Унаследовано от Control) OnImeModeChanged(EventArgs)

Вызывает событие ImeModeChanged. Raises the ImeModeChanged event.

(Унаследовано от Control) OnInvalidated(InvalidateEventArgs)

Вызывает событие Invalidated. Raises the Invalidated event.

(Унаследовано от Control) OnKeyDown(KeyEventArgs)

Вызывает событие KeyDown. Raises the KeyDown event.

(Унаследовано от Control) OnKeyPress(KeyPressEventArgs)

Вызывает событие KeyPress. Raises the KeyPress event.

(Унаследовано от Control) OnKeyUp(KeyEventArgs)

Вызывает событие KeyUp. Raises the KeyUp event.

(Унаследовано от Control) OnLayout(LayoutEventArgs)

Вызывает событие Layout. Raises the Layout event.

(Унаследовано от ContainerControl) OnLeave(EventArgs)

Вызывает событие Leave. Raises the Leave event.

(Унаследовано от Control) OnLoad(EventArgs)

Вызывает событие Load. Raises the Load event.

Вызывает событие LocationChanged. Raises the LocationChanged event.

(Унаследовано от Control) OnLostFocus(EventArgs)

Вызывает событие LostFocus. Raises the LostFocus event.

(Унаследовано от Control) OnMarginChanged(EventArgs)

Вызывает событие MarginChanged. Raises the MarginChanged event.

(Унаследовано от Control) OnMouseCaptureChanged(EventArgs)

(Унаследовано от Control) OnMouseClick(MouseEventArgs)

Вызывает событие MouseClick. Raises the MouseClick event.

(Унаследовано от Control) OnMouseDoubleClick(MouseEventArgs)

Вызывает событие MouseDoubleClick. Raises the MouseDoubleClick event.

(Унаследовано от Control) OnMouseDown(MouseEventArgs)

Вызывает событие MouseDown. Raises the MouseDown event.

Вызывает событие MouseEnter. Raises the MouseEnter event.

(Унаследовано от Control) OnMouseHover(EventArgs)

Вызывает событие MouseHover. Raises the MouseHover event.

(Унаследовано от Control) OnMouseLeave(EventArgs)

Вызывает событие MouseLeave. Raises the MouseLeave event.

(Унаследовано от Control) OnMouseMove(MouseEventArgs)

Вызывает событие MouseMove. Raises the MouseMove event.

(Унаследовано от Control) OnMouseUp(MouseEventArgs)

Вызывает событие MouseUp. Raises the MouseUp event.

(Унаследовано от Control) OnMouseWheel(MouseEventArgs)

Вызывает событие MouseWheel. Raises the MouseWheel event.

(Унаследовано от ScrollableControl) OnMove(EventArgs)

Вызывает событие Move. Raises the Move event.

(Унаследовано от Control) OnNotifyMessage(Message)

Уведомляет элемент управления о сообщениях Windows. Notifies the control of Windows messages.

(Унаследовано от Control) OnPaddingChanged(EventArgs)

Вызывает событие PaddingChanged. Raises the PaddingChanged event.

(Унаследовано от ScrollableControl) OnPaint(PaintEventArgs)

Вызывает событие Paint. Raises the Paint event.

(Унаследовано от Control) OnPaintBackground(PaintEventArgs)

Рисует фон элемента управления. Paints the background of the control.

(Унаследовано от ScrollableControl) OnParentBackColorChanged(EventArgs)

Вызывает событие BackColorChanged при изменении значения свойства BackColor контейнера элемента управления. Raises the BackColorChanged event when the BackColor property value of the control’s container changes.

(Унаследовано от Control) OnParentBackgroundImageChanged(EventArgs)

Вызывает событие BackgroundImageChanged при изменении значения свойства BackgroundImage контейнера элемента управления. Raises the BackgroundImageChanged event when the BackgroundImage property value of the control’s container changes.

(Унаследовано от Control) OnParentBindingContextChanged(EventArgs)

Вызывает событие BindingContextChanged при изменении значения свойства BindingContext контейнера элемента управления. Raises the BindingContextChanged event when the BindingContext property value of the control’s container changes.

(Унаследовано от Control) OnParentChanged(EventArgs)

Вызывает событие ParentChanged. Raises the ParentChanged event.

(Унаследовано от ContainerControl) OnParentCursorChanged(EventArgs)

Вызывает событие CursorChanged. Raises the CursorChanged event.

(Унаследовано от Control) OnParentEnabledChanged(EventArgs)

Вызывает событие EnabledChanged при изменении значения свойства Enabled контейнера элемента управления. Raises the EnabledChanged event when the Enabled property value of the control’s container changes.

(Унаследовано от Control) OnParentFontChanged(EventArgs)

Вызывает событие FontChanged при изменении значения свойства Font контейнера элемента управления. Raises the FontChanged event when the Font property value of the control’s container changes.

(Унаследовано от Control) OnParentForeColorChanged(EventArgs)

Вызывает событие ForeColorChanged при изменении значения свойства ForeColor контейнера элемента управления. Raises the ForeColorChanged event when the ForeColor property value of the control’s container changes.

(Унаследовано от Control) OnParentRightToLeftChanged(EventArgs)

Вызывает событие RightToLeftChanged при изменении значения свойства RightToLeft контейнера элемента управления. Raises the RightToLeftChanged event when the RightToLeft property value of the control’s container changes.

(Унаследовано от Control) OnParentVisibleChanged(EventArgs)

Вызывает событие VisibleChanged при изменении значения свойства Visible контейнера элемента управления. Raises the VisibleChanged event when the Visible property value of the control’s container changes.

(Унаследовано от Control) OnPreviewKeyDown(PreviewKeyDownEventArgs)

Вызывает событие PreviewKeyDown. Raises the PreviewKeyDown event.

(Унаследовано от Control) OnPrint(PaintEventArgs)

Вызывает событие Paint. Raises the Paint event.

(Унаследовано от Control) OnQueryContinueDrag(QueryContinueDragEventArgs)

(Унаследовано от Control) OnRegionChanged(EventArgs)

Вызывает событие RegionChanged. Raises the RegionChanged event.

(Унаследовано от Control) OnResize(EventArgs)

Вызывает событие Resize. Raises the Resize event.

Вызывает событие Resize. Raises the Resize event.

(Унаследовано от Control) OnRightToLeftChanged(EventArgs)

(Унаследовано от ScrollableControl) OnScroll(ScrollEventArgs)

Вызывает событие Scroll. Raises the Scroll event.

(Унаследовано от ScrollableControl) OnSizeChanged(EventArgs)

Вызывает событие SizeChanged. Raises the SizeChanged event.

(Унаследовано от Control) OnStyleChanged(EventArgs)

Вызывает событие StyleChanged. Raises the StyleChanged event.

(Унаследовано от Control) OnSystemColorsChanged(EventArgs)

(Унаследовано от Control) OnTabIndexChanged(EventArgs)

Вызывает событие TabIndexChanged. Raises the TabIndexChanged event.

(Унаследовано от Control) OnTabStopChanged(EventArgs)

Вызывает событие TabStopChanged. Raises the TabStopChanged event.

(Унаследовано от Control) OnTextChanged(EventArgs)

Вызывает событие TextChanged. Raises the TextChanged event.

(Унаследовано от Control) OnValidated(EventArgs)

Вызывает событие Validated. Raises the Validated event.

(Унаследовано от Control) OnValidating(CancelEventArgs)

Вызывает событие Validating. Raises the Validating event.

(Унаследовано от Control) OnVisibleChanged(EventArgs)

Вызывает событие VisibleChanged. Raises the VisibleChanged event.

(Унаследовано от ScrollableControl) PerformAutoScale()

Выполняет масштабирование элемента управления типа «контейнер» и его дочерних элементов. Performs scaling of the container control and its children.

(Унаследовано от ContainerControl) PerformLayout()

Вызывает в элементе управления принудительное применение логики макета ко всем его дочерним элементам управления. Forces the control to apply layout logic to all its child controls.

(Унаследовано от Control) PerformLayout(Control, String)

Вызывает в элементе управления принудительное применение логики макета ко всем его дочерним элементам управления. Forces the control to apply layout logic to all its child controls.

(Унаследовано от Control) PointToClient(Point)

Вычисляет местоположение указанной точки экрана в клиентских координатах. Computes the location of the specified screen point into client coordinates.

(Унаследовано от Control) PointToScreen(Point)

Вычисляет местоположение указанной точки клиента в экранных координатах. Computes the location of the specified client point into screen coordinates.

(Унаследовано от Control) PreProcessControlMessage(Message)

Выполняет предварительную обработку клавиатурных или входящих сообщений в цикле обработки сообщений перед их отправкой. Preprocesses keyboard or input messages within the message loop before they are dispatched.

(Унаследовано от Control) PreProcessMessage(Message)

Выполняет предварительную обработку клавиатурных или входящих сообщений в цикле обработки сообщений перед их отправкой. Preprocesses keyboard or input messages within the message loop before they are dispatched.

(Унаследовано от Control) ProcessCmdKey(Message, Keys)

Обрабатывает клавишу для команд. Processes a command key.

(Унаследовано от ContainerControl) ProcessDialogChar(Char)

Обрабатывает символ диалогового окна. Processes a dialog character.

(Унаследовано от ContainerControl) ProcessDialogKey(Keys)

Обрабатывает клавишу диалогового окна. Processes a dialog key.

(Унаследовано от ContainerControl) ProcessKeyEventArgs(Message)

Обрабатывает сообщение о нажатии клавиши и создает соответствующие события элемента управления. Processes a key message and generates the appropriate control events.

(Унаследовано от Control) ProcessKeyMessage(Message)

Обрабатывает сообщение клавиатуры. Processes a keyboard message.

(Унаследовано от Control) ProcessKeyPreview(Message)

Выполняет предварительный просмотр сообщения клавиатуры. Previews a keyboard message.

(Унаследовано от Control) ProcessMnemonic(Char)

Обрабатывает назначенный символ. Processes a mnemonic character.

(Унаследовано от ContainerControl) ProcessTabKey(Boolean)

Выбирает следующий доступный элемент управления и активизирует его. Selects the next available control and makes it the active control.

(Унаследовано от ContainerControl) RaiseDragEvent(Object, DragEventArgs)

Вызывает соответствующее событие перетаскивания. Raises the appropriate drag event.

(Унаследовано от Control) RaiseKeyEvent(Object, KeyEventArgs)

Вызывает соответствующее событие клавиши. Raises the appropriate key event.

Читайте также:  Снимки рабочего стола windows 10

(Унаследовано от Control) RaiseMouseEvent(Object, MouseEventArgs)

Вызывает соответствующее событие мыши. Raises the appropriate mouse event.

(Унаследовано от Control) RaisePaintEvent(Object, PaintEventArgs)

Вызывает соответствующее событие рисования. Raises the appropriate paint event.

(Унаследовано от Control) RecreateHandle()

Вызывает повторное создание дескриптора элемента управления. Forces the re-creation of the handle for the control.

(Унаследовано от Control) RectangleToClient(Rectangle)

Вычисляет размер и местоположение указанной прямоугольной области экрана в клиентских координатах. Computes the size and location of the specified screen rectangle in client coordinates.

(Унаследовано от Control) RectangleToScreen(Rectangle)

Вычисляет размер и местоположение указанной клиентской области (в виде прямоугольника) в экранных координатах. Computes the size and location of the specified client rectangle in screen coordinates.

(Унаследовано от Control) Refresh()

Принудительно создает условия, при которых элемент управления делает недоступной свою клиентскую область и немедленно перерисовывает себя и все дочерние элементы. Forces the control to invalidate its client area and immediately redraw itself and any child controls.

(Унаследовано от Control) RescaleConstantsForDpi(Int32, Int32)

Предоставляет константы для изменения масштаба элемента управления при изменении DPI. Provides constants for rescaling the control when a DPI change occurs.

(Унаследовано от Control) ResetBackColor()

Восстанавливает значение по умолчанию свойства BackColor. Resets the BackColor property to its default value.

(Унаследовано от Control) ResetBindings()

Вызывает в элементе управления, привязанном к компоненту BindingSource, повторное считывание всех элементов списка и обновление их отображаемых значений. Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.

(Унаследовано от Control) ResetCursor()

Восстанавливает значение по умолчанию свойства Cursor. Resets the Cursor property to its default value.

(Унаследовано от Control) ResetFont()

Восстанавливает значение по умолчанию свойства Font. Resets the Font property to its default value.

(Унаследовано от Control) ResetForeColor()

Восстанавливает значение по умолчанию свойства ForeColor. Resets the ForeColor property to its default value.

(Унаследовано от Control) ResetImeMode()

Восстанавливает значение по умолчанию свойства ImeMode. Resets the ImeMode property to its default value.

(Унаследовано от Control) ResetMouseEventArgs()

Сбрасывает элемент управления в дескриптор события MouseLeave. Resets the control to handle the MouseLeave event.

(Унаследовано от Control) ResetRightToLeft()

Восстанавливает значение по умолчанию свойства RightToLeft. Resets the RightToLeft property to its default value.

(Унаследовано от Control) ResetText()

Восстанавливает значение по умолчанию свойства Text (Empty). Resets the Text property to its default value (Empty).

(Унаследовано от Control) ResumeLayout()

Возобновляет обычную логику макета. Resumes usual layout logic.

(Унаследовано от Control) ResumeLayout(Boolean)

Возобновляет обычную логику макета, дополнительно осуществляя немедленное отображение отложенных запросов макета. Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.

(Унаследовано от Control) RtlTranslateAlignment(ContentAlignment)

Преобразует указанный объект ContentAlignment в соответствующий объект ContentAlignment, чтобы обеспечить поддержку текста, читаемого справа налево. Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.

(Унаследовано от Control) RtlTranslateAlignment(HorizontalAlignment)

Преобразует указанный объект HorizontalAlignment в соответствующий объект HorizontalAlignment, чтобы обеспечить поддержку текста, читаемого справа налево. Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.

(Унаследовано от Control) RtlTranslateAlignment(LeftRightAlignment)

Преобразует указанный объект LeftRightAlignment в соответствующий объект LeftRightAlignment, чтобы обеспечить поддержку текста, читаемого справа налево. Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.

(Унаследовано от Control) RtlTranslateContent(ContentAlignment)

Преобразует указанный объект ContentAlignment в соответствующий объект ContentAlignment, чтобы обеспечить поддержку текста, читаемого справа налево. Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.

(Унаследовано от Control) RtlTranslateHorizontal(HorizontalAlignment)

Преобразует указанный объект HorizontalAlignment в соответствующий объект HorizontalAlignment, чтобы обеспечить поддержку текста, читаемого справа налево. Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.

(Унаследовано от Control) RtlTranslateLeftRight(LeftRightAlignment)

Преобразует указанный объект LeftRightAlignment в соответствующий объект LeftRightAlignment, чтобы обеспечить поддержку текста, читаемого справа налево. Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.

(Унаследовано от Control) Scale(Single)

Масштабирует элемент управления и любые его дочерние элементы. Scales the control and any child controls.

(Унаследовано от Control) Scale(Single, Single)

Масштабирует весь элемент управления и любые его дочерние элементы. Scales the entire control and any child controls.

(Унаследовано от Control) Scale(SizeF)

Масштабирует элемент управления и любые его дочерние элементы с использованием заданного коэффициента масштабирования. Scales the control and all child controls by the specified scaling factor.

(Унаследовано от Control) ScaleBitmapLogicalToDevice(Bitmap)

Масштабирует логическое значение точечного рисунка в эквивалентное значение единицы измерения устройства при изменении настройки DPI. Scales a logical bitmap value to it’s equivalent device unit value when a DPI change occurs.

(Унаследовано от Control) ScaleControl(SizeF, BoundsSpecified)

Выполняет масштабирование расположения, размеров, заполнения и полей элемента управления. Scales a control’s location, size, padding and margin.

(Унаследовано от ScrollableControl) ScaleCore(Single, Single)

Данный метод не применим к этому классу. This method is not relevant for this class.

(Унаследовано от ScrollableControl) ScrollControlIntoView(Control)

Прокручивает заданный дочерний элемент управления в элементе управления, позволяющем выполнять просмотр и автоматическую прокрутку. Scrolls the specified child control into view on an auto-scroll enabled control.

(Унаследовано от ScrollableControl) ScrollToControl(Control)

Вычисляет смещение прокрутки в заданном дочернем элементе управления. Calculates the scroll offset to the specified child control.

(Унаследовано от ScrollableControl) Select()

Активирует элемент управления. Activates the control.

(Унаследовано от Control) Select(Boolean, Boolean)

Активирует дочерний элемент управления. Activates a child control. При необходимости указывает направление для выбора элементов управления в последовательности табуляции. Optionally specifies the direction in the tab order to select the control from.

(Унаследовано от ContainerControl) SelectNextControl(Control, Boolean, Boolean, Boolean, Boolean)

Активирует следующий элемент управления. Activates the next control.

(Унаследовано от Control) SendToBack()

Отправляет элемент управления в конец z-порядка. Sends the control to the back of the z-order.

(Унаследовано от Control) SetAutoScrollMargin(Int32, Int32)

Задает размеры полей автоматической прокрутки. Sets the size of the auto-scroll margins.

(Унаследовано от ScrollableControl) SetAutoSizeMode(AutoSizeMode)

Задает значение, указывающее, как будет вести себя элемент управления, когда его свойство AutoSize включено. Sets a value indicating how a control will behave when its AutoSize property is enabled.

(Унаследовано от Control) SetBounds(Int32, Int32, Int32, Int32)

Задает границы элемента управления для указанного местоположения и размера. Sets the bounds of the control to the specified location and size.

(Унаследовано от Control) SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified)

Задает указанные границы элемента управления для указанного местоположения и размера. Sets the specified bounds of the control to the specified location and size.

(Унаследовано от Control) SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

Задает указанные границы данного элемента управления. Performs the work of setting the specified bounds of this control.

(Унаследовано от Control) SetClientSizeCore(Int32, Int32)

Задает размер клиентской области элемента управления. Sets the size of the client area of the control.

(Унаследовано от Control) SetDisplayRectLocation(Int32, Int32)

Помещает отображаемое окно в заданное значение. Positions the display window to the specified value.

(Унаследовано от ScrollableControl) SetScrollState(Int32, Boolean)

Устанавливает указанный флаг состояния прокрутки. Sets the specified scroll state flag.

(Унаследовано от ScrollableControl) SetStyle(ControlStyles, Boolean)

Задает указанный флаг ControlStyles либо в значение true , либо в значение false . Sets a specified ControlStyles flag to either true or false .

(Унаследовано от Control) SetTopLevel(Boolean)

Определяет элемент управления как элемент верхнего уровня. Sets the control as the top-level control.

(Унаследовано от Control) SetVisibleCore(Boolean)

Задает для элемента управления указанное видимое состояние. Sets the control to the specified visible state.

(Унаследовано от Control) Show()

Отображает элемент управления. Displays the control to the user.

(Унаследовано от Control) SizeFromClientSize(Size)

Определяет размер всего элемента управления по высоте и ширине его клиентской области. Determines the size of the entire control from the height and width of its client area.

(Унаследовано от Control) SuspendLayout()

Временно приостанавливает логику макета для элемента управления. Temporarily suspends the layout logic for the control.

(Унаследовано от Control) ToString()

Возвращает объект String, содержащий имя Component, если оно есть. Returns a String containing the name of the Component, if any. Этот метод не следует переопределять. This method should not be overridden.

(Унаследовано от Component) Update()

Вызывает перерисовку элементом управления недопустимых областей клиентской области. Causes the control to redraw the invalidated regions within its client area.

(Унаследовано от Control) UpdateBounds()

Обновляет границы элемента управления с учетом текущего размера и местоположения. Updates the bounds of the control with the current size and location.

(Унаследовано от Control) UpdateBounds(Int32, Int32, Int32, Int32)

Обновляет границы элемента управления с учетом указанного размера и местоположения. Updates the bounds of the control with the specified size and location.

(Унаследовано от Control) UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)

Обновляет границы элемента управления с учетом указанного размера, местоположения и клиентского размера. Updates the bounds of the control with the specified size, location, and client size.

(Унаследовано от Control) UpdateDefaultButton()

При переопределении производным классом обновляет сведения о том, какая кнопка является кнопкой по умолчанию. When overridden by a derived class, updates which button is the default button.

(Унаследовано от ContainerControl) UpdateStyles()

Вызывает принудительное повторное применение назначенных стилей к элементу управления. Forces the assigned styles to be reapplied to the control.

(Унаследовано от Control) UpdateZOrder()

Обновляет элемент управления в z-порядке его родительского элемента управления. Updates the control in its parent’s z-order.

(Унаследовано от Control) Validate()

Проверяет значение элемента управления, потерявшего фокус, путем запуска событий Validating и Validated в этом порядке. Verifies the value of the control losing focus by causing the Validating and Validated events to occur, in that order.

(Унаследовано от ContainerControl) Validate(Boolean)

Проверяет значение элемента управления, который потерял фокус; зависит от того, включена ли автоматическая проверка. Verifies the value of the control that is losing focus; conditionally dependent on whether automatic validation is turned on.

(Унаследовано от ContainerControl) ValidateChildren()

Заставляет все дочерние элементы управления в поддерживающем проверку элементе управления проверить свои данные. Causes all of the child controls within a control that support validation to validate their data.

Заставляет все дочерние элементы управления в поддерживающем проверку элементе управления проверить свои данные. Causes all of the child controls within a control that support validation to validate their data.

(Унаследовано от ContainerControl) ValidateChildren(ValidationConstraints)

Заставляет все дочерние элементы управления в поддерживающем проверку элементе управления проверить свои данные. Causes all of the child controls within a control that support validation to validate their data.

Заставляет все дочерние элементы управления в поддерживающем проверку элементе управления проверить свои данные. Causes all of the child controls within a control that support validation to validate their data.

(Унаследовано от ContainerControl) WndProc(Message)

Обрабатывает сообщения Windows. Processes Windows messages.

События

Происходит при изменении свойства AutoSize. Occurs when the AutoSize property changes.

Данное событие не применимо к этому классу. This event is not relevant for this class.

(Унаследовано от Control) AutoValidateChanged

Происходит при изменении свойства AutoValidate. Occurs when the AutoValidate property changes.

Происходит при изменении свойства AutoValidate. Occurs when the AutoValidate property changes.

(Унаследовано от ContainerControl) BackColorChanged

Происходит при изменении значения свойства BackColor. Occurs when the value of the BackColor property changes.

(Унаследовано от Control) BackgroundImageChanged

Происходит при изменении значения свойства BackgroundImage. Occurs when the value of the BackgroundImage property changes.

(Унаследовано от Control) BackgroundImageLayoutChanged

Происходит при изменении свойства BackgroundImageLayout. Occurs when the BackgroundImageLayout property changes.

(Унаследовано от Control) BindingContextChanged

Происходит при изменении значения свойства BindingContext. Occurs when the value of the BindingContext property changes.

(Унаследовано от Control) CausesValidationChanged

Происходит при изменении значения свойства CausesValidation. Occurs when the value of the CausesValidation property changes.

(Унаследовано от Control) ChangeUICues

Происходит при получении сигналов на изменение от фокуса или клавиатурного интерфейса. Occurs when the focus or keyboard user interface (UI) cues change.

(Унаследовано от Control) Click

Происходит при щелчке элемента управления. Occurs when the control is clicked.

(Унаследовано от Control) ClientSizeChanged

Происходит при изменении значения свойства ClientSize. Occurs when the value of the ClientSize property changes.

(Унаследовано от Control) ContextMenuChanged

Происходит при изменении значения свойства ContextMenu. Occurs when the value of the ContextMenu property changes.

(Унаследовано от Control) ContextMenuStripChanged

Происходит при изменении значения свойства ContextMenuStrip. Occurs when the value of the ContextMenuStrip property changes.

(Унаследовано от Control) ControlAdded

Происходит при добавлении нового элемента управления в массив Control.ControlCollection. Occurs when a new control is added to the Control.ControlCollection.

(Унаследовано от Control) ControlRemoved

Происходит при удалении элемента управления из Control.ControlCollection. Occurs when a control is removed from the Control.ControlCollection.

(Унаследовано от Control) CursorChanged

Происходит при изменении значения свойства Cursor. Occurs when the value of the Cursor property changes.

(Унаследовано от Control) 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.

(Унаследовано от Control) DoubleClick

Происходит при двойном щелчке элемента управления. Occurs when the control is double-clicked.

(Унаследовано от Control) DpiChangedAfterParent

Возникает, когда настройка DPI для элемента управления изменяется программным образом после изменения DPI связанного родительского элемента управления или формы. Occurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed.

(Унаследовано от Control) DpiChangedBeforeParent

Возникает, когда настройка DPI для элемента управления изменяется программным образом, прежде чем возникает событие изменения DPI для соответствующего родительского элемента управления или формы. Occurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred.

(Унаследовано от Control) DragDrop

Вызывается при завершении операции перетаскивания. Occurs when a drag-and-drop operation is completed.

(Унаследовано от Control) DragEnter

Происходит, когда объект перетаскивается в границы элемента управления. Occurs when an object is dragged into the control’s bounds.

(Унаследовано от Control) DragLeave

Вызывается, когда объект перетаскивается за пределы элемента управления. Occurs when an object is dragged out of the control’s bounds.

(Унаследовано от Control) DragOver

Происходит, когда объект перетаскивается через границу элемента управления. Occurs when an object is dragged over the control’s bounds.

(Унаследовано от Control) EnabledChanged

Происходит, если значение свойства Enabled было изменено. Occurs when the Enabled property value has changed.

(Унаследовано от Control) Enter

Происходит при входе в элемент управления. Occurs when the control is entered.

(Унаследовано от Control) FontChanged

Происходит при изменении значения свойства Font. Occurs when the Font property value changes.

(Унаследовано от Control) ForeColorChanged

Происходит при изменении значения свойства ForeColor. Occurs when the ForeColor property value changes.

(Унаследовано от Control) GiveFeedback

Вызывается при выполнении операции перетаскивания. Occurs during a drag operation.

(Унаследовано от Control) GotFocus

Вызывается при получении фокуса элементом управления. Occurs when the control receives focus.

(Унаследовано от Control) HandleCreated

Происходит при создании дескриптора для элемента управления. Occurs when a handle is created for the control.

(Унаследовано от Control) HandleDestroyed

Происходит в процессе удаления дескриптора элемента управления. Occurs when the control’s handle is in the process of being destroyed.

(Унаследовано от Control) HelpRequested

Происходит при запросе справки для элемента управления. Occurs when the user requests help for a control.

(Унаследовано от Control) ImeModeChanged

Происходит при изменении свойства ImeMode. Occurs when the ImeMode property has changed.

(Унаследовано от Control) Invalidated

Происходит, когда для отображения элемента управления требуется перерисовка. Occurs when a control’s display requires redrawing.

(Унаследовано от Control) KeyDown

Происходит при нажатии клавиши, если элемент управления имеет фокус. Occurs when a key is pressed while the control has focus.

(Унаследовано от Control) KeyPress

Происходит при нажатии клавиши с буквой, Occurs when a character. пробела или клавиши BACKSPACE, если фокус находится в элементе управления. space or backspace key is pressed while the control has focus.

(Унаследовано от Control) KeyUp

Происходит, когда отпускается клавиша, если элемент управления имеет фокус. Occurs when a key is released while the control has focus.

(Унаследовано от Control) Layout

Происходит, когда необходимо изменить позицию дочерних элементов управления данного элемента управления. Occurs when a control should reposition its child controls.

(Унаследовано от Control) Leave

Происходит, когда фокус ввода покидает элемент управления. Occurs when the input focus leaves the control.

(Унаследовано от Control) Load

Происходит перед тем, как элемент управления первый раз становится видимым. Occurs before the control becomes visible for the first time.

Происходит, если значение свойства Location было изменено. Occurs when the Location property value has changed.

(Унаследовано от Control) LostFocus

Происходит при потере фокуса элементом управления. Occurs when the control loses focus.

(Унаследовано от Control) MarginChanged

Происходит при изменении поля элемента управления. Occurs when the control’s margin changes.

(Унаследовано от Control) MouseCaptureChanged

Происходит при потере захвата мыши элементом управления. Occurs when the control loses mouse capture.

(Унаследовано от Control) MouseClick

Вызывается при щелчке мышью элемента управления. Occurs when the control is clicked by the mouse.

(Унаследовано от Control) MouseDoubleClick

Вызывается при двойном щелчке мышью элемента управления. Occurs when the control is double clicked by the mouse.

(Унаследовано от Control) MouseDown

Происходит при нажатии кнопки мыши, если указатель мыши находится на элементе управления. Occurs when the mouse pointer is over the control and a mouse button is pressed.

(Унаследовано от Control) MouseEnter

Происходит, когда указатель мыши оказывается на элементе управления. Occurs when the mouse pointer enters the control.

(Унаследовано от Control) MouseHover

Происходит, когда указатель мыши задерживается на элементе управления. Occurs when the mouse pointer rests on the control.

(Унаследовано от Control) MouseLeave

Происходит, когда указатель мыши покидает элемент управления. Occurs when the mouse pointer leaves the control.

(Унаследовано от Control) MouseMove

Происходит при перемещении указателя мыши по элементу управления. Occurs when the mouse pointer is moved over the control.

(Унаследовано от Control) MouseUp

Происходит при отпускании кнопки мыши, когда указатель мыши находится на элементе управления. Occurs when the mouse pointer is over the control and a mouse button is released.

(Унаследовано от Control) MouseWheel

Происходит при прокручивании колеса мыши, если данный элемент управления находится в фокусе. Occurs when the mouse wheel moves while the control has focus.

(Унаследовано от Control) Move

Происходит при перемещении элемента управления. Occurs when the control is moved.

(Унаследовано от Control) PaddingChanged

Генерируется при изменении заполнения элемента управления. Occurs when the control’s padding changes.

(Унаследовано от Control) Paint

Происходит при перерисовке элемента управления. Occurs when the control is redrawn.

(Унаследовано от Control) ParentChanged

Происходит при изменении значения свойства Parent. Occurs when the Parent property value changes.

(Унаследовано от Control) PreviewKeyDown

Генерируется перед событием KeyDown при нажатии клавиши, когда элемент управления имеет фокус. Occurs before the KeyDown event when a key is pressed while focus is on this control.

(Унаследовано от Control) QueryAccessibilityHelp

Происходит, когда объект AccessibleObject предоставляет справку для приложений со специальными возможностями. Occurs when AccessibleObject is providing help to accessibility applications.

(Унаследовано от Control) QueryContinueDrag

Происходит во время операции перетаскивания и позволяет источнику перетаскивания определить, следует ли отменить эту операцию. Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.

(Унаследовано от Control) RegionChanged

Происходит при изменении значения свойства Region. Occurs when the value of the Region property changes.

(Унаследовано от Control) Resize

Происходит при изменении размеров элемента управления. Occurs when the control is resized.

(Унаследовано от Control) RightToLeftChanged

Происходит при изменении значения свойства RightToLeft. Occurs when the RightToLeft property value changes.

(Унаследовано от Control) Scroll

Происходит в том случае, если пользователь или программа выполняет прокрутку в клиентской области. Occurs when the user or code scrolls through the client area.

(Унаследовано от ScrollableControl) SizeChanged

Происходит при изменении значения свойства Size. Occurs when the Size property value changes.

(Унаследовано от Control) StyleChanged

Происходит при изменении стиля элемента управления. Occurs when the control style changes.

(Унаследовано от Control) SystemColorsChanged

Происходит при изменении системных цветов. Occurs when the system colors change.

(Унаследовано от Control) TabIndexChanged

Происходит при изменении значения свойства TabIndex. Occurs when the TabIndex property value changes.

(Унаследовано от Control) TabStopChanged

Происходит при изменении значения свойства TabStop. Occurs when the TabStop property value changes.

(Унаследовано от Control) TextChanged

Вызывает событие TextChanged. Raises the TextChanged event.

Происходит по завершении проверки элемента управления. Occurs when the control is finished validating.

(Унаследовано от Control) Validating

Возникает при проверке действительности элемента управления. Occurs when the control is validating.

(Унаследовано от Control) VisibleChanged

Происходит при изменении значения свойства Visible. Occurs when the Visible property value changes.

(Унаследовано от Control)

Явные реализации интерфейса

Активирует заданный элемент управления. Activates the specified control.

(Унаследовано от ContainerControl) IDropTarget.OnDragDrop(DragEventArgs)

Вызывает событие DragDrop. Raises the DragDrop event.

(Унаследовано от Control) IDropTarget.OnDragEnter(DragEventArgs)

Вызывает событие DragEnter. Raises the DragEnter event.

(Унаследовано от Control) IDropTarget.OnDragLeave(EventArgs)

Вызывает событие DragLeave. Raises the DragLeave event.

(Унаследовано от Control) IDropTarget.OnDragOver(DragEventArgs)

Вызывает событие DragOver. Raises the DragOver event.

Оцените статью