Windows forms label фон

Убрать фон у Label

Убрать фон в label
как видите фон лейбла остался(и он берется с фона самой формы)белые «пятна» png без фона

Прозрачный фон у label’a
Пытаюсь сделать прозрачный фон у лейблов, перерыл весь инет, ниже код всего что смог найти, ничего.

Прозрачный фон Label
на картинке у labela серый квадрат загораживает картинку, как оставить только текст

Как сделать фон прозрачным в label
Вот допустим я помещаю картинку вместо фона программы, и помещаю туда label. Как можно сделать так.

Решение

Заказываю контрольные, курсовые, дипломные и любые другие студенческие работы здесь или здесь.

Как сделать фон Label прозрачным?
Подскажите пожалуйста как мне сделать label1 background прозрачным?

Как сделать повторяющийся фон у Label
Что-то туплю.. Как добавить текстуру на фон? добавляю картинку 5х5, как сделать что бы она.

Как установить прозрачный фон для Label
Люди, помогите. Прочитал, что если где-то указать значение true в Transparent то фон у label.

Убрать задний фон dataGridView
Не могу найти в свойствах dataGridView как убрать задний фон полностью, чтобы было видно только.

Программирование на C, C# и Java

Уроки программирования, алгоритмы, статьи, исходники, примеры программ и полезные советы

ОСТОРОЖНО МОШЕННИКИ! В последнее время в социальных сетях участились случаи предложения помощи в написании программ от лиц, прикрывающихся сайтом vscode.ru. Мы никогда не пишем первыми и не размещаем никакие материалы в посторонних группах ВК. Для связи с нами используйте исключительно эти контакты: vscoderu@yandex.ru, https://vk.com/vscode

Как поменять цвет фона элементов в Windows Forms

В данной статье мы разберем несколько вариантов изменения цвета элементов Windows Forms на примере фона формы Form1 и прочих компонентов.

Способ №1. Изменение цвета в свойствах элемента.

Для многих это самый легкий способ изменения цветовой палитры элементов, так как не надо писать код, всё визуализировано и интуитивно понятно.

Для этого надо выбрать элемент формы (или саму форму) и в “Свойствах” найти вкладку “Внешний вид”. Нас интересует строка BackColor:

Здесь имеется большое количество цветовых схем и их визуальных представлений.

Выберем для примера какой-либо из цветов, чтобы изменить фон формы:

Легко, незамысловато, понятно.

Следующие способы будут производиться в коде.

Способ №2. Изменение цвета, используя структуру Color.

Это самый простой способ среди кодовых вариаций.

“На пальцах” это выглядит так:

Если мы захотим закрасить фон формы в зеленый цвет, то строка кода будет выглядеть вот так:

При запуске форма будет выглядеть так:

Если понадобится изменить цвет, например, кнопки Button на тёмно-бордовый, код будет таким:

Данный способ прост тем, что требуется лишь написать название цвета, которых также большое количество.

Зачастую этих двух способов хватает для оформления программы. Если же нужна более гибкая настройка или же среди стандартных цветов не имеется необходимых, можно воспользоваться способами, описанными ниже.

Способ №3. Изменение цвета, используя метод Color.Argb.

Этот и следующий методы позволят генерировать нужный цвет, используя значения цветового канала RGB.

RGB – это цветовая модель, которая синтезирует цвета, используя смешивание трёх основных цветов (Красного – Red, Зеленого – Green, Синего- Blue) с чёрным, вследствие чего получаются новые цвета и оттенки. Зависит получаемый цвет от интенсивности этих трёх основных цветов. Если смешать Красный, Зеленый и Синий в максимальной насыщенности, получится белый цвет. Если не смешивать их, то остаётся чёрный.

Данный способ позволяет регулировать интенсивность трех этих цветов, при смешивании которых и получится нужный нам оттенок.

Интенсивность в числовой форме для удобства применения обозначается от 0 (минимальная интенсивность) до 255(максимальная интенсивность). Все три цвета можно “варьировать” по этой шкале.

Словесно это выглядит вот так:

Названиеэлементаформы.BackColor = Color.FromArgb(Насыщенность красного, Насыщенность зеленого, Насыщенность синего);

Чтобы закрасить фон программы в чёрный цвет, используя данный метод, надо написать вот такую строку:

C# Windows Form Label BackgroundImage

I want to set a background image on a Label . I found that Microsoft does not allow to do this. However, I want to implement by self. The code is in below, the problem is that how can I set the background image programmically? There is still no BackgroundImage property to set.

I got another problem is that the Label is all black whatever I change the settings. I don’t know what the reason is. Can anyone help me?

2 Answers 2

The BackgroundImage property is implemented by the Control class, the base class of Label. So every control has the ability to have a background image. But as you can tell from the way Label behaves in the designer, they tinkered with it to make it unavailable.

You’ll want to find out exactly what they did with it. You can do so with a decompiler, but today it is best to use the Reference Source. A very slick web site that allows you to easily browse the source code in the .NET Framework. Type «Label.BackgroundImage» in the search box.

You’ll see that nothing particularly drastic happened to it, it just acquired several attributes to hide the property. So first thing you want to do is override BackgroundImage yourself and cancel those attributes again:

Bingo, works fine.

You’ll have to set the AutoSize property to False, the probable reason they decided to hide the property. You can override that too, if you want to, you now know how to do that 🙂

Прозрачный фон Label

Прозрачный фон у label’a
Пытаюсь сделать прозрачный фон у лейблов, перерыл весь инет, ниже код всего что смог найти, ничего.

Как установить прозрачный фон для Label
Люди, помогите. Прочитал, что если где-то указать значение true в Transparent то фон у label.

Прозрачный фон у PictureBox
У меня в PictureBox ромбик в формате .png. На форме рисуется линия к ромбику. Но эта линия.

Прозрачный фон в TextBox
Как сделать, чтобы фон текстбокса был прозрачным? просто делаю на картинке и не хотелось белого или.

Если это VS то можно просто в BackColor там можно выбрать Web и цвет Transparent

Инструмент какой? Я показал на Visual Studio 2005. Возможно у вас Borland-овкая прога

Добавлено через 2 минуты
C# это язык программирования даже можно на блокноте написать и копилировать в ручную

Pooh-овкое тоже пробовал тоже подходит и MAcK-овский. Я не знаю почему у вас не получается.

Вложения

WindowsApplication5.rar (142.2 Кб, 413 просмотров)

Я понял что вы хотели. Можно через Panel сделать его бакгроунд рисунком. А с Лабелом надо то что было вышее сказонное.

ЗЫ: До этого я фон формы делал рисунок.

В случае выбора transparent в параметре BackColor фон элемента label действительно становится прозрачным, но он буквально прожигает всё, чуть ли не до цвета самой формы.
У меня label находится поверх pictureBox, можно ли сделать так, чтобы между букв было видно изображение, а не фоновый цвет формы.

PS. Изображение там будет другое, не монотонное, по этому задать какой либо конкретный цвет в фон лейблу не получится.

Заказываю контрольные, курсовые, дипломные и любые другие студенческие работы здесь или здесь.

Прозрачный фон PictureBox’а
У меня в программе в одном PictureBox’е рисуются линии, а другой маленький PictureBox с картинкой с.

Прозрачный фон в DataGridView
Нашел в сети класс, благодаря которому можно установить прозрачность у компонента datagridview. .

Прозрачный фон pictureBox
Как сделать так чтоьы фон pictureBox был прозрачным но просто изменить BackColor на птранспарент не.

Прозрачный фон у pictureBox
Как его установить? Ставлю картинку .png, вижу белый задний фон у pictureBox. Хорошо было бы.

Label Класс

Определение

Представляет стандартную метку Windows. Represents a standard Windows label.

Примеры

В следующем примере кода показано, как создать Label элемент управления, имеющий трехмерную границу и содержащий изображение. The following code example demonstrates how to create a Label control that has a three-dimensional border and contains an image. Изображение отображается с помощью ImageList ImageIndex свойств и. The image is displayed using the ImageList and ImageIndex properties. Элемент управления также содержит заголовок с назначенным символом. The control also has a caption with a mnemonic character specified. В примере кода используются PreferredHeight Свойства и PreferredWidth для правильного изменения размера Label элемента управления. The example code uses the PreferredHeight and PreferredWidth properties to properly size the Label control. В этом примере требуется, чтобы был ImageList создан и именованный imageList1, а также было загружено два изображения. This example requires that an ImageList has been created and named imageList1 and that it has loaded two images. В примере также предполагается, что код находится в форме, в которой System.Drawing пространство имен Добавлено в код. The example also requires that the code is within a form that has the System.Drawing namespace added to its code.

Комментарии

Label элементы управления обычно используются для предоставления описательного текста для элемента управления. Label controls are typically used to provide descriptive text for a control. Например, можно использовать, Label чтобы добавить описательный текст для TextBox элемента управления, чтобы информировать пользователя о типе данных, ожидаемых в элементе управления. For example, you can use a Label to add descriptive text for a TextBox control to inform the user about the type of data expected in the control. Label элементы управления также можно использовать для добавления описательного текста в, Form чтобы предоставить пользователю полезную информацию. Label controls can also be used to add descriptive text to a Form to provide the user with helpful information. Например, можно добавить Label в начало Form , предоставляющее пользователю инструкции по вводу данных в элементы управления в форме. For example, you can add a Label to the top of a Form that provides instructions to the user on how to input data in the controls on the form. Label элементы управления можно также использовать для вывода сведений о времени выполнения в состоянии приложения. Label controls can be also used to display run time information on the status of an application. Например, можно добавить в Label форму элемент управления для просмотра состояния каждого файла в виде списка обрабатываемых файлов. For example, you can add a Label control to a form to display the status of each file as a list of files is processed.

Объект Label участвует в порядке табуляции в форме, но не получает фокус (следующий элемент управления в последовательности табуляции получает фокус). A Label participates in the tab order of a form, but does not receive focus (the next control in the tab order receives focus). Например, если UseMnemonic свойство имеет значение true , а также назначенный символ — первый символ после амперсанда (&) — задается в Text свойстве элемента управления, когда пользователь нажимает ALT + назначенная клавиша, фокус перемещается к следующему элементу управления в последовательности табуляции. For example, if the UseMnemonic property is set to true , and a mnemonic character — the first character after an ampersand (&) — is specified in the Text property of the control, when a user presses ALT+ the mnemonic key, focus moves to the next control in the tab order. Эта функция обеспечивает навигацию в форме с помощью клавиатуры. This feature provides keyboard navigation for a form. Кроме отображения текста, Label элемент управления может также отображать изображение с помощью Image свойства или сочетания ImageIndex ImageList свойств и. In addition to displaying text, the Label control can also display an image using the Image property, or a combination of the ImageIndex and ImageList properties.

LabelМожно сделать прозрачным, задав BackColor свойству значение Color.Transparent . A Label can be made transparent by setting its BackColor property to Color.Transparent . При использовании прозрачной метки используйте только текущую систему координат устройства для рисования в контейнере, иначе Label фон может рисовать некорректно. When you use a transparent label, use only the current device coordinate system to draw on the container, or the Label background might paint improperly.

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

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

Свойства

Получает объект 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) 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) AutoEllipsis

Получает или задает значение, указывающее, отображается ли знак многоточия (. ) в правом углу элемента управления Label, обозначающий, что текст элемента Label выходит за пределы указанной длины элемента Label. Gets or sets a value indicating whether the ellipsis character (. ) appears at the right edge of the Label, denoting that the Label text extends beyond the specified length of the Label.

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

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

Получает или задает значение, указывающее, изменяются ли размеры элемента управления автоматически для отображения всего его содержимого. Gets or sets a value indicating whether the control is automatically resized to display its entire contents.

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

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

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

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

Возвращает или задает макет фонового изображения в соответствии с перечислением 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.

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

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

Возвращает расстояние в пикселях между нижней границей элемента управления и верхней границей клиентской области контейнера. 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.

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

Читайте также:  Easybcd windows 10 efi

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

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

Возвращает размер пустого пространства в пикселях между элементами управления, которое определено по умолчанию. 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 display area of the control.

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

Возвращает или задает плоский внешний вид для элемента управления «метка». Gets or sets the flat style appearance of the label control.

Возвращает значение, указывающее, имеется ли на элементе управления фокус ввода. 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) Image

Возвращает или задает изображение, отображаемое в свойстве Label. Gets or sets the image that is displayed on a Label.

Возвращает или задает способ выравнивания изображения, отображаемого на элементе управления. Gets or sets the alignment of an image that is displayed in the control.

Возвращает или задает значение индекса изображения, отображенного в элементе управления Label. Gets or sets the index value of the image displayed on the Label.

Получает или задает средство доступа к ключу для изображения в свойстве ImageList. Gets or sets the key accessor for the image in the ImageList.

Возвращает или задает свойство ImageList, содержащее изображения, отображаемые в элементе управления Label. Gets or sets the ImageList that contains the images to display in the Label control.

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

Получает или задает режим 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) LiveSetting

Уровень «вежливости», который клиент должен использовать для уведомления пользователя об изменениях в этой динамической области. Indicates the politeness level that a client should use to notify the user of changes to the live region.

Возвращает или задает координаты левого верхнего угла элемента управления относительно левого верхнего угла его контейнера. 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) PreferredHeight

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

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

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

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

Возвращает имя продукта сборки, содержащей элемент управления. 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) RenderTransparent

Определяет, отображается ли фон контейнера элемента управления в элементе управления Label. Indicates whether the container control background is rendered on the Label.

Возвращает или задает значение, указывающее, перерисовывается ли элемент управления при изменении размеров. 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

Возвращает или задает значение, указывающее, может ли пользователь переместиться на строку состояния Label. Gets or sets a value indicating whether the user can tab to the Label. Это свойство не используется данным классом. This property is not used by this class.

Возвращает или задает объект, содержащий данные об элементе управления. 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 text associated with this control.

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

Возвращает или задает способ выравнивания текста в метке. Gets or sets the alignment of text in the label.

Возвращает или задает расстояние в пикселях между верхней границей элемента управления и верхней границей клиентской области его контейнера. 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) UseCompatibleTextRendering

Возвращает или задает значение, определяющее, следует ли использовать Graphics класс (GDI+) или TextRenderer класс (GDI) для отрисовки текста. Gets or sets a value that determines whether to use the Graphics class (GDI+) or the TextRenderer class (GDI) to render text.

Возвращает или задает значение, показывающее, интерпретируется ли знак амперсанда (&) в свойстве Text элемента управления как знак префикса для ключа доступа. Gets or sets a value indicating whether the control interprets an ampersand character (&) in the control’s Text property to be an access key prefix character.

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

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

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

(Унаследовано от Control) 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) 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) CalcImageRenderBounds(Image, Rectangle, ContentAlignment)

Определяет размер и расположение изображения, нарисованного в элементе управления Label, на основании выравнивания элемента управления. Determines the size and location of an image drawn within the Label control based on the alignment of the 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.

Вызывает принудительное создание видимого элемента управления, включая создание дескриптора и всех видимых дочерних элементов. 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.

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

Читайте также:  При загрузки настройка обновлений windows

Отправляет заданное сообщение процедуре окна, используемой по умолчанию. 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)

Освобождает неуправляемые ресурсы, используемые объектом Label, а при необходимости освобождает также управляемые ресурсы. Releases the unmanaged resources used by the Label and optionally releases the managed resources.

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

(Унаследовано от Control) DrawImage(Graphics, Image, Rectangle, ContentAlignment)

Рисует объект Image в пределах указанных границ. Draws an Image within the specified bounds.

Поддерживает отрисовку в указанном точечном рисунке. 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.

Вычисляет размер прямоугольной области, в которую помещается элемент управления. 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) 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.

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

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

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

Вызывает событие 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.

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

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

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

Вызывает событие 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.

Вызывает событие 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.

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

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

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

Вызывает событие 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.

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

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

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

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

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

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

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

Вызывает событие 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.

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

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

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

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

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

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

Вызывает событие 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.

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

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

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

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

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

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

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

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

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

Вызывает в элементе управления принудительное применение логики макета ко всем его дочерним элементам управления. 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.

Читайте также:  Sublime text mac os key

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

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

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

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

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

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

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

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

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

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

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

Предоставляет константы для изменения масштаба элемента управления при изменении 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.

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

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

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

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

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

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

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

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

Задает указанные границы метки. Sets the specified bounds of the label.

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

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

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

Вызывает перерисовку элементом управления недопустимых областей клиентской области. 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) UpdateStyles()

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

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

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

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

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

События

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

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

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

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

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

Происходит при изменении свойства 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 changes.

Происходит, когда для отображения элемента управления требуется перерисовка. Occurs when a control’s display requires redrawing.

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

Происходит при нажатии клавиши, если на метке установлен фокус. Occurs when the user presses a key while the label has focus.

Происходит при нажатии клавиши, если на метке установлен фокус. Occurs when the user presses a key while the label has focus.

Происходит при отпускании клавиши, если на метке установлен фокус. Occurs when the user releases a key while the label has focus.

Происходит, когда необходимо изменить позицию дочерних элементов управления данного элемента управления. Occurs when a control should reposition its child controls.

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

Происходит, когда фокус ввода покидает элемент управления. Occurs when the input focus leaves the control.

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

Происходит, если значение свойства 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) 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 changes.

Происходит в результате изменения значения свойства TextAlign. Occurs when the value of the TextAlign property has changed.

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

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

Происходит по завершении проверки элемента управления. 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)

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

Вызывает событие 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.

Оцените статью