- Общие сведения об элементе управления TabControl (Windows Forms) TabControl Control Overview (Windows Forms)
- Работа с TabControl Working with TabControl
- Элемент управления TabControl (Windows Forms) TabControl Control (Windows Forms)
- в этом разделе In This Section
- Справочник Reference
- Связанные разделы Related Sections
- Tab Control. Tab Page Collection Класс
- Определение
- Комментарии
- Конструкторы
- Свойства
- Методы
- Явные реализации интерфейса
- Методы расширения
- Tab Page Class
- Definition
- Examples
- Remarks
- Constructors
- Fields
- Properties
- Methods
- Events
Общие сведения об элементе управления TabControl (Windows Forms) TabControl Control Overview (Windows Forms)
Элемент управления TabControl Windows Forms используется для отображения нескольких вкладок, аналогичных разделителям в записной книжке или меткам в наборе папок в картотеке. The Windows Forms TabControl displays multiple tabs, like dividers in a notebook or labels in a set of folders in a filing cabinet. Вкладки могут содержать изображения и другие элементы управления. The tabs can contain pictures and other controls. Элемент управления «Вкладка» можно использовать для создания многостраничного диалогового окна, которое появляется во многих местах в операционной системе Windows, например в свойствах панели управления. You can use the tab control to produce the kind of multiple-page dialog box that appears many places in the Windows operating system, such as the Control Panel Display Properties. Кроме того, TabControl можно использовать для создания страниц свойств, которые используются для задания группы связанных свойств. Additionally, the TabControl can be used to create property pages, which are used to set a group of related properties.
Работа с TabControl Working with TabControl
Наиболее важным свойством объекта TabControl является TabPages , который содержит отдельные вкладки. The most important property of the TabControl is TabPages, which contains the individual tabs. Каждая отдельная вкладка является TabPage объектом. Each individual tab is a TabPage object. При нажатии на вкладку вызывается Click событие для этого TabPage объекта. When a tab is clicked, it raises the Click event for that TabPage object.
Элемент управления TabControl (Windows Forms) TabControl Control (Windows Forms)
Элемент управления TabControl Windows Forms используется для отображения нескольких вкладок, аналогичных разделителям в записной книжке или меткам в наборе папок в картотеке. The Windows Forms TabControl displays multiple tabs, like dividers in a notebook or labels in a set of folders in a filing cabinet. Вкладки могут содержать изображения и другие элементы управления. The tabs can contain pictures and other controls. Используйте элемент управления TabControl для создания страниц свойств. Use the TabControl to create property pages.
в этом разделе In This Section
Общие сведения об элементе управления TabControl TabControl Control Overview
Описание элемента управления, его основных возможностей и свойств. Explains what this control is and its key features and properties.
Практическое руководство. Добавление элемента управления на вкладку How to: Add a Control to a Tab Page
Инструкции по отображению элементов управления на страницах вкладок. Gives directions for displaying controls on tab pages.
Практическое руководство. Добавление и удаление вкладок с помощью элемента управления TabControl в Windows Forms How to: Add and Remove Tabs with the Windows Forms TabControl
Инструкции по добавлению и удалению вкладок в конструкторе или в коде. Gives directions for adding and removing tabs in the designer or in code.
Практическое руководство. Изменение внешнего вида элемента управления TabControl в Windows Forms How to: Change the Appearance of the Windows Forms TabControl
Инструкции по настройке свойств, которые влияют на внешний вид отдельных вкладок. Gives directions for adjusting properties that affect the appearance of individual tabs.
Практическое руководство. Блокировка доступа ко вкладкам How to: Disable Tab Pages
Объясняется, как ограничить доступ к вкладке, например на основе учетных данных пользователя. Explains how to restrict access to a tab page, possibly based on user credentials.
Справочник Reference
Класс TabControl TabControl class
Описание класса и всех его членов. Describes this class and has links to all its members.
Связанные разделы Related Sections
Диалоговые окна в Windows Forms Dialog Boxes in Windows Forms
Список задач для диалоговых окон, в которых часто отображаются вкладки. Provides a list of tasks for dialog boxes, which often display tabs.
Элементы управления для использования в формах Windows Forms Controls to Use on Windows Forms
Полный список элементов управления Windows Forms со ссылками на информацию об их применении. Provides a complete list of Windows Forms controls, with links to information on their use.
Tab Control. Tab Page Collection Класс
Определение
Содержит коллекцию объектов TabPage. Contains a collection of TabPage objects.
Комментарии
Порядок страниц вкладок в этой коллекции отражает порядок вкладок в связанном TabControl элементе управления. The order of tab pages in this collection reflects the order of tabs in the related TabControl control. Чтобы изменить порядок вкладок в элементе управления, необходимо изменить их позиции в коллекции, удалив их и вставив новые индексы. To change the order of tabs in the control, you must change their positions in the collection by removing them and inserting them at new indexes.
Конструкторы
Инициализирует новый экземпляр класса TabControl.TabPageCollection. Initializes a new instance of the TabControl.TabPageCollection class.
Свойства
Получает число страниц вкладок в коллекции. Gets the number of tab pages in the collection.
Возвращает значение, указывающее, является ли коллекция доступной только для чтения. Gets a value indicating whether the collection is read-only.
Получает или задает объект TabPage в коллекции. Gets or sets a TabPage in the collection.
Получает страницу вкладки с указанным ключом из коллекции. Gets a tab page with the specified key from the collection.
Методы
Создает страницу вкладки с заданным текстом и добавляет ее в коллекцию. Creates a tab page with the specified text, and adds it to the collection.
Создает страницу вкладки с заданным текстом и ключом и добавляет ее в коллекцию. Creates a tab page with the specified text and key, and adds it to the collection.
Создает страницу вкладки с заданным ключом, текстом и изображением и добавляет ее в коллекцию. Creates a tab page with the specified key, text, and image, and adds it to the collection.
Создает страницу вкладки с заданным ключом, текстом и изображением и добавляет ее в коллекцию. Creates a tab page with the specified key, text, and image, and adds it to the collection.
Добавляет TabPage в коллекцию. Adds a TabPage to the collection.
Добавляет к коллекции набор страниц вкладок. Adds a set of tab pages to the collection.
Удаляет все страницы вкладок из коллекции. Removes all the tab pages from the collection.
Определяет, находится ли заданная страница вкладки в коллекции. Determines whether a specified tab page is in the collection.
Определяет, содержится ли в коллекции страница вкладки с указанным ключом. Determines whether the collection contains a tab page with the specified key.
Определяет, равен ли указанный объект текущему объекту. Determines whether the specified object is equal to the current object.
(Унаследовано от Object)
Возвращает перечисление всех страниц вкладок в коллекции. Returns an enumeration of all the tab pages in the collection.
Служит хэш-функцией по умолчанию. Serves as the default hash function.
(Унаследовано от Object)
Возвращает объект Type для текущего экземпляра. Gets the Type of the current instance.
(Унаследовано от Object)
Возвращает индекс заданной страницы вкладки в коллекции. Returns the index of the specified tab page in the collection.
Возвращает индекс первого вхождения TabPage с указанным ключом. Returns the index of the first occurrence of the TabPage with the specified key.
Создает новую страницу вкладки с заданными текстом и вставляет ее в коллекцию по указанному индексу. Creates a new tab page with the specified text and inserts it into the collection at the specified index.
Создает новую страницу вкладки с заданными ключом и текстом и вставляет ее в коллекцию по указанному индексу. Creates a new tab page with the specified key and text, and inserts it into the collection at the specified index.
Создает новую страницу вкладки с заданными ключом, текстом и изображением и вставляет ее в коллекцию по указанному индексу. Creates a new tab page with the specified key, text, and image, and inserts it into the collection at the specified index.
Создает страницу вкладки с заданными ключом, текстом и изображением и вставляет ее в коллекцию по указанному индексу. Creates a tab page with the specified key, text, and image, and inserts it into the collection at the specified index.
Вставляет существующую страницу вкладки в коллекцию по указанному индексу. Inserts an existing tab page into the collection at the specified index.
Создает неполную копию текущего объекта Object. Creates a shallow copy of the current Object.
(Унаследовано от Object)
Удаляет объект TabPage из коллекции. Removes a TabPage from the collection.
Удаляет из коллекции страницу вкладки с заданным индексом. Removes the tab page at the specified index from the collection.
Удаляет страницу вкладки с указанным ключом из коллекции. Removes the tab page with the specified key from the collection.
Возвращает строку, представляющую текущий объект. Returns a string that represents the current object.
(Унаследовано от Object)
Явные реализации интерфейса
Копирует элементы коллекции в заданный массив, начиная с указанного индекса. Copies the elements of the collection to the specified array, starting at the specified index.
Возвращает значение, показывающее, является ли доступ к коллекции TabControl.TabPageCollection синхронизированным (потокобезопасным). Gets a value indicating whether access to the TabControl.TabPageCollection is synchronized (thread safe).
Получает объект, с помощью которого можно синхронизировать доступ к коллекции TabControl.TabPageCollection. Gets an object that can be used to synchronize access to the TabControl.TabPageCollection.
Добавляет к коллекции элемент управления TabPage. Adds a TabPage control to the collection.
Определяет, входит ли указанный элемент управления TabPage в TabControl.TabPageCollection. Determines whether the specified TabPage control is in the TabControl.TabPageCollection.
Возвращает индекс указанного элемента управления TabPage в коллекции. Returns the index of the specified TabPage control in the collection.
Этот API поддерживает инфраструктуру продукта и не предназначен для использования непосредственно из программного кода.
Вставляет новый элемент управления TabPage в коллекцию. Inserts a TabPage control into the collection.
Получает значение, указывающее, имеет ли список TabControl.TabPageCollection фиксированный размер. Gets a value indicating whether the TabControl.TabPageCollection has a fixed size.
Получает или задает объект TabPage в коллекции. Gets or sets a TabPage in the collection.
Удаляет объект TabPage из коллекции. Removes a TabPage from the collection.
Методы расширения
Приводит элементы объекта 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.
Tab Page Class
Definition
Represents a single tab page in a TabControl.
Examples
The following code example creates a TabControl with one TabPage.
Remarks
TabPage controls represent the tabbed pages in a TabControl control. The order of tab pages in the TabControl.TabPages collection reflects the order of tabs in the TabControl control. To change the order of tabs in the control, you must change their positions in the collection by removing them and inserting them at new indexes.
TabPage controls are constrained by their container, so some of the properties inherited from the Control base class will have no effect, including Top, Height, Left, Width, Show, and Hide.
The tabs in a TabControl are part of the TabControl but not parts of the individual TabPage controls. Members of the TabPage class, such as the ForeColor property, affect only the client rectangle of the tab page, but not the tabs. Additionally, the Hide method of the TabPage will not hide the tab. To hide the tab, you must remove the TabPage control from the TabControl.TabPages collection.
In .NET Framework 2.0, the tab is considered part of the tab page for determining when the Enter and Leave events of the TabPage occur. In earlier versions of the .NET Framework, the Enter and Leave events of the TabPage do not occur when focus enters or leaves a tab, but only when focus enters or leaves the client rectangle of the tab page.
For more information about how this control responds to the Focus and Select methods, see the following Control members: CanFocus, CanSelect, Focused, ContainsFocus, Focus, Select.
Controls contained in a TabPage are not created until the tab page is shown, and any data bindings in these controls are not activated until the tab page is shown.
In .NET Framework 2.0, the UseVisualStyleBackColor property lets you indicate whether the background of the tab page should render using the current visual style. This occurs only when the UseVisualStyleBackColor and Application.RenderWithVisualStyles property values are both true and the Appearance property of the parent TabControl is Normal. Otherwise, the background is painted normally.
Constructors
Initializes a new instance of the TabPage class.
Initializes a new instance of the TabPage class and specifies the text for the tab.
Fields
Determines the value of the AutoScroll property.
(Inherited from ScrollableControl)
Determines whether the user has enabled full window drag.
(Inherited from ScrollableControl)
Determines whether the value of the HScroll property is set to true .
(Inherited from ScrollableControl)
Determines whether the user had scrolled through the ScrollableControl control.
(Inherited from ScrollableControl)
Determines whether the value of the VScroll property is set to true .
(Inherited from ScrollableControl)
Properties
Gets the AccessibleObject assigned to the control.
(Inherited from Control)
Gets or sets the default action description of the control for use by accessibility client applications.
(Inherited from Control)
Gets or sets the description of the control used by accessibility client applications.
(Inherited from Control)
Gets or sets the name of the control used by accessibility client applications.
(Inherited from Control)
Gets or sets the accessible role of the control.
(Inherited from Control)
Gets or sets a value indicating whether the control can accept data that the user drags onto it.
(Inherited from Control)
This member is not meaningful for this control.
Gets or sets a value indicating whether the container enables the user to scroll to any controls placed outside of its visible boundaries.
(Inherited from ScrollableControl)
Gets or sets the size of the auto-scroll margin.
(Inherited from ScrollableControl)
Gets or sets the minimum size of the auto-scroll.
(Inherited from ScrollableControl)
Gets or sets where this control is scrolled to in ScrollControlIntoView(Control).
(Inherited from Control)
Gets or sets the location of the auto-scroll position.
(Inherited from ScrollableControl)
This property is not meaningful for this control.
Gets or sets a value that indicates whether the control resizes based on its contents.
(Inherited from Panel)
This property is not meaningful for this control.
Indicates the automatic sizing behavior of the control.
(Inherited from Panel)
Gets or sets the background color for the TabPage.
Gets or sets the background color for the control.
(Inherited from Control)
Gets or sets the background image displayed in the control.
(Inherited from Control)
Gets or sets the background image layout as defined in the ImageLayout enumeration.
(Inherited from Control)
Gets or sets the BindingContext for the control.
(Inherited from Control)
Indicates the border style for the control.
(Inherited from Panel)
Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container’s client area.
(Inherited from Control)
Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control.
(Inherited from Control)
Gets a value indicating whether the ImeMode property can be set to an active value, to enable IME support.
(Inherited from Control)
Gets a value indicating whether the control can receive focus.
(Inherited from Control)
Determines if events can be raised on the control.
(Inherited from Control)
Gets a value indicating whether the control can be selected.
(Inherited from Control)
Gets or sets a value indicating whether the control has captured the mouse.
(Inherited from Control)
Gets or sets a value indicating whether the control causes validation to be performed on any controls that require validation when it receives focus.
(Inherited from Control)
Gets the rectangle that represents the client area of the control.
(Inherited from Control)
Gets or sets the height and width of the client area of the control.
(Inherited from Control)
Gets the name of the company or creator of the application containing the control.
(Inherited from Control)
Gets the IContainer that contains the Component.
(Inherited from Component)
Gets a value indicating whether the control, or one of its child controls, currently has the input focus.
(Inherited from Control)
Gets or sets the shortcut menu associated with the control.
(Inherited from Control)
Gets or sets the ContextMenuStrip associated with this control.
(Inherited from Control)
Gets the collection of controls contained within the control.
(Inherited from Control)
Gets a value indicating whether the control has been created.
(Inherited from Control)
Gets the required creation parameters when the control handle is created.
(Inherited from Panel)
Gets or sets the cursor that is displayed when the mouse pointer is over the control.
(Inherited from Control)
Gets the data bindings for the control.
(Inherited from Control)
Gets or sets the default cursor for the control.
(Inherited from Control)
Gets the default Input Method Editor (IME) mode supported by the control.
(Inherited from Control)
Gets the space, in pixels, that is specified by default between controls.
(Inherited from Control)
Gets the length and height, in pixels, that is specified as the default maximum size of a control.
(Inherited from Control)
Gets the length and height, in pixels, that is specified as the default minimum size of a control.
(Inherited from Control)
Gets the internal spacing, in pixels, of the contents of a control.
(Inherited from Control)
Gets the default size of the control.
(Inherited from Panel)
Gets a value that indicates whether the Component is currently in design mode.
(Inherited from Component)
Gets the DPI value for the display device where the control is currently being displayed.
(Inherited from Control)
Gets the rectangle that represents the virtual display area of the control.
(Inherited from ScrollableControl)
Gets a value indicating whether the base Control class is in the process of disposing.
(Inherited from Control)
This member is not meaningful for this control.
Gets the dock padding settings for all edges of the control.
(Inherited from ScrollableControl)
Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker.
(Inherited from Control)
This member is not meaningful for this control.
Gets the list of event handlers that are attached to this Component.
(Inherited from Component)
Gets a value indicating whether the control has input focus.
(Inherited from Control)
Gets or sets the font of the text displayed by the control.
(Inherited from Control)
Gets or sets the height of the font of the control.
(Inherited from Control)
Gets or sets the foreground color of the control.
(Inherited from Control)
Gets the window handle that the control is bound to.
(Inherited from Control)
Gets a value indicating whether the control contains one or more child controls.
(Inherited from Control)
Gets or sets the height of the control.
(Inherited from Control)
Gets the characteristics associated with the horizontal scroll bar.
(Inherited from ScrollableControl)
Gets or sets a value indicating whether the horizontal scroll bar is visible.
(Inherited from ScrollableControl)
Gets or sets the index to the image displayed on this tab.
Gets or sets the key accessor for the image in the ImageList of the associated TabControl.
Gets or sets the Input Method Editor (IME) mode of the control.
(Inherited from Control)
Gets or sets the IME mode of a control.
(Inherited from Control)
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.
(Inherited from Control)
Gets or sets a value indicating whether the control is visible to accessibility applications.
(Inherited from Control)
Gets a value indicating whether the control has been disposed of.
(Inherited from Control)
Gets a value indicating whether the control has a handle associated with it.
(Inherited from Control)
Gets a value indicating whether the control is mirrored.
(Inherited from Control)
Gets a cached instance of the control’s layout engine.
(Inherited from Control)
Gets or sets the distance, in pixels, between the left edge of the control and the left edge of its container’s client area.
(Inherited from Control)
This property is not meaningful for this control.
Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container.
(Inherited from Control)
Gets or sets the space between controls.
(Inherited from Control)
This property is not meaningful for this control.
Gets or sets the size that is the upper limit that GetPreferredSize(Size) can specify.
(Inherited from Control)
This property is not meaningful for this control.
Gets or sets the size that is the lower limit that GetPreferredSize(Size) can specify.
(Inherited from Control)
Gets or sets the name of the control.
(Inherited from Control)
Gets or sets padding within the control.
(Inherited from Control)
Gets or sets the parent container of the control.
(Inherited from Control)
This property is not meaningful for this control.
Gets the size of a rectangular area into which the control can fit.
(Inherited from Control)
Gets the product name of the assembly containing the control.
(Inherited from Control)
Gets the version of the assembly containing the control.
(Inherited from Control)
Gets a value indicating whether the control is currently re-creating its handle.
(Inherited from Control)
Gets or sets the window region associated with the control.
(Inherited from Control)
This property is now obsolete.
(Inherited from Control)
Gets or sets a value indicating whether the control redraws itself when resized.
(Inherited from Control)
Gets the distance, in pixels, between the right edge of the control and the left edge of its container’s client area.
(Inherited from Control)
Gets or sets a value indicating whether control’s elements are aligned to support locales using right-to-left fonts.
(Inherited from Control)
Gets a value that determines the scaling of child controls.
(Inherited from Control)
Gets a value indicating whether the control should display focus rectangles.
(Inherited from Control)
Gets a value indicating whether the user interface is in the appropriate state to show or hide keyboard accelerators.
(Inherited from Control)
Gets or sets the site of the control.
(Inherited from Control)
Gets or sets the height and width of the control.
(Inherited from Control)
This property is not meaningful for this control.
This member is not meaningful for this control.
Gets or sets the object that contains data about the control.
(Inherited from Control)
Gets or sets the text to display on the tab.
Gets or sets the ToolTip text for this tab.
Gets or sets the distance, in pixels, between the top edge of the control and the top edge of its container’s client area.
(Inherited from Control)
Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost Form that the control is contained in.
(Inherited from Control)
Gets or sets a value indicating whether the TabPage background renders using the current visual style when visual styles are enabled.
Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls.
(Inherited from Control)
Gets the characteristics associated with the vertical scroll bar.
(Inherited from ScrollableControl)
This member is not meaningful for this control.
Gets or sets a value indicating whether the vertical scroll bar is visible.
(Inherited from ScrollableControl)
Gets or sets the width of the control.
(Inherited from Control)
This property is not relevant for this class.
(Inherited from Control)
Methods
Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control.
(Inherited from Control)
Notifies the accessibility client applications of the specified AccessibleEvents for the specified child control .
(Inherited from Control)
Adjusts the scroll bars on the container based on the current control positions and the control currently selected.
(Inherited from ScrollableControl)
Executes the specified delegate asynchronously on the thread that the control’s underlying handle was created on.
(Inherited from Control)
Executes the specified delegate asynchronously with the specified arguments, on the thread that the control’s underlying handle was created on.
(Inherited from Control)
Brings the control to the front of the z-order.
(Inherited from Control)
Retrieves a value indicating whether the specified control is a child of the control.
(Inherited from Control)
Creates a new accessibility object for the control.
(Inherited from Control)
Forces the creation of the visible control, including the creation of the handle and any visible child controls.
(Inherited from Control)
Creates a new instance of the control collection for the control.
Creates the Graphics for the control.
(Inherited from Control)
Creates a handle for the control.
(Inherited from Control)
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject)
Sends the specified message to the default window procedure.
(Inherited from Control)
Destroys the handle associated with the control.
(Inherited from Control)
Releases all resources used by the Component.
(Inherited from Component)
Releases the unmanaged resources used by the Control and its child controls and optionally releases the managed resources.
(Inherited from Control)
Begins a drag-and-drop operation.
(Inherited from Control)
Supports rendering to the specified bitmap.
(Inherited from Control)
Retrieves the return value of the asynchronous operation represented by the IAsyncResult passed.
(Inherited from Control)
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Retrieves the form that the control is on.
(Inherited from Control)
Sets input focus to the control.
(Inherited from Control)
Retrieves the specified AccessibleObject.
(Inherited from Control)
Retrieves a value indicating how a control will behave when its AutoSize property is enabled.
(Inherited from Control)
Retrieves the child control that is located at the specified coordinates.
(Inherited from Control)
Retrieves the child control that is located at the specified coordinates, specifying whether to ignore child controls of a certain type.
(Inherited from Control)
Returns the next ContainerControl up the control’s chain of parent controls.
(Inherited from Control)
Serves as the default hash function.
(Inherited from Object)
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Retrieves the next control forward or back in the tab order of child controls.
(Inherited from Control)
Retrieves the size of a rectangular area into which a control can be fitted.
(Inherited from Control)
Retrieves the bounds within which the control is scaled.
(Inherited from Control)
Determines whether the specified flag has been set.
(Inherited from ScrollableControl)
Returns an object that represents a service provided by the Component or by its Container.
(Inherited from Component)
Retrieves the value of the specified control style bit for the control.
(Inherited from Control)
Retrieves the tab page that contains the specified object.
Determines if the control is a top-level control.
(Inherited from Control)
Gets the Type of the current instance.
(Inherited from Object)
Conceals the control from the user.
(Inherited from Control)
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject)
Called after the control has been added to another container.
(Inherited from Control)
Invalidates the entire surface of the control and causes the control to be redrawn.
(Inherited from Control)
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.
(Inherited from Control)
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.
(Inherited from Control)
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.
(Inherited from Control)
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.
(Inherited from Control)
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.
(Inherited from Control)
Executes the specified delegate on the thread that owns the control’s underlying window handle.
(Inherited from Control)
Executes the specified delegate, on the thread that owns the control’s underlying window handle, with the specified list of arguments.
(Inherited from Control)
Raises the GotFocus event for the specified control.
(Inherited from Control)
Raises the LostFocus event for the specified control.
(Inherited from Control)
Raises the Click event for the specified control.
(Inherited from Control)
Raises the Paint event for the specified control.
(Inherited from Control)
Raises the PaintBackground event for the specified control.
(Inherited from Control)
Determines if a character is an input character that the control recognizes.
(Inherited from Control)
Determines whether the specified key is a regular input key or a special key that requires preprocessing.
(Inherited from Control)
Converts a Logical DPI value to its equivalent DeviceUnit DPI value.
(Inherited from Control)
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.
(Inherited from Control)
Creates a shallow copy of the current Object.
(Inherited from Object)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject)
Raises the Invalidated event with a specified region of the control to invalidate.
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
Raises the ChangeUICues event.
(Inherited from Control)
Raises the Click event.
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
Raises the ControlAdded event.
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
Raises the DockChanged event.
(Inherited from Control)
Raises the DoubleClick event.
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
Raises the DragDrop event.
(Inherited from Control)
Raises the DragEnter event.
(Inherited from Control)
Raises the DragLeave event.
(Inherited from Control)
Raises the DragOver event.
(Inherited from Control)
(Inherited from Control)
Raises the Enter event of the TabPage.
Raises the Enter event.
(Inherited from Control)
Raises the FontChanged event.
(Inherited from Control)
(Inherited from Control)
Raises the GiveFeedback event.
(Inherited from Control)
Raises the GotFocus event.
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
Raises the Invalidated event.
(Inherited from Control)
Raises the KeyDown event.
(Inherited from Control)
Raises the KeyPress event.
(Inherited from Control)
Raises the KeyUp event.
(Inherited from Control)
Raises the Layout event.
(Inherited from ScrollableControl)
Raises the Leave event of the TabPage.
Raises the Leave event.
(Inherited from Control)
(Inherited from Control)
Raises the LostFocus event.
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
Raises the MouseClick event.
(Inherited from Control)
(Inherited from Control)
Raises the MouseDown event.
(Inherited from Control)
Raises the MouseEnter event.
(Inherited from Control)
Raises the MouseHover event.
(Inherited from Control)
Raises the MouseLeave event.
(Inherited from Control)
Raises the MouseMove event.
(Inherited from Control)
Raises the MouseUp event.
(Inherited from Control)
Raises the MouseWheel event.
(Inherited from ScrollableControl)
Raises the Move event.
(Inherited from Control)
Notifies the control of Windows messages.
(Inherited from Control)
(Inherited from ScrollableControl)
Raises the Paint event.
(Inherited from Control)
Paints the background of the TabPage.
Paints the background of the control.
(Inherited from ScrollableControl)
Raises the BackColorChanged event when the BackColor property value of the control’s container changes.
(Inherited from Control)
Raises the BackgroundImageChanged event when the BackgroundImage property value of the control’s container changes.
(Inherited from Control)
Raises the BindingContextChanged event when the BindingContext property value of the control’s container changes.
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
Raises the EnabledChanged event when the Enabled property value of the control’s container changes.
(Inherited from Control)
Raises the FontChanged event when the Font property value of the control’s container changes.
(Inherited from Control)
Raises the ForeColorChanged event when the ForeColor property value of the control’s container changes.
(Inherited from Control)
Raises the RightToLeftChanged event when the RightToLeft property value of the control’s container changes.
(Inherited from Control)
Raises the VisibleChanged event when the Visible property value of the control’s container changes.
(Inherited from Control)
(Inherited from Control)
Raises the Paint event.
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
Fires the event indicating that the panel has been resized. Inheriting controls should use this in favor of actually listening to the event, but should still call base.onResize to ensure that the event is fired for external listeners.
(Inherited from Panel)
(Inherited from ScrollableControl)
Raises the Scroll event.
(Inherited from ScrollableControl)
Raises the SizeChanged event.
(Inherited from Control)
Raises the StyleChanged event.
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
(Inherited from Control)
Raises the TextChanged event.
(Inherited from Control)
Raises the Validated event.
(Inherited from Control)
Raises the Validating event.
(Inherited from Control)
(Inherited from ScrollableControl)
Forces the control to apply layout logic to all its child controls.
(Inherited from Control)
Forces the control to apply layout logic to all its child controls.
(Inherited from Control)
Computes the location of the specified screen point into client coordinates.
(Inherited from Control)
Computes the location of the specified client point into screen coordinates.
(Inherited from Control)
Preprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control)
Preprocesses keyboard or input messages within the message loop before they are dispatched.
(Inherited from Control)
Processes a command key.
(Inherited from Control)
Processes a dialog character.
(Inherited from Control)
Processes a dialog key.
(Inherited from Control)
Processes a key message and generates the appropriate control events.
(Inherited from Control)
Processes a keyboard message.
(Inherited from Control)
Previews a keyboard message.
(Inherited from Control)
Processes a mnemonic character.
(Inherited from Control)
Raises the appropriate drag event.
(Inherited from Control)
Raises the appropriate key event.
(Inherited from Control)
Raises the appropriate mouse event.
(Inherited from Control)
Raises the appropriate paint event.
(Inherited from Control)
Forces the re-creation of the handle for the control.
(Inherited from Control)
Computes the size and location of the specified screen rectangle in client coordinates.
(Inherited from Control)
Computes the size and location of the specified client rectangle in screen coordinates.
(Inherited from Control)
Forces the control to invalidate its client area and immediately redraw itself and any child controls.
(Inherited from Control)
Provides constants for rescaling the control when a DPI change occurs.
(Inherited from Control)
Resets the BackColor property to its default value.
(Inherited from Control)
Causes a control bound to the BindingSource to reread all the items in the list and refresh their displayed values.
(Inherited from Control)
Resets the Cursor property to its default value.
(Inherited from Control)
Resets the Font property to its default value.
(Inherited from Control)
Resets the ForeColor property to its default value.
(Inherited from Control)
Resets the ImeMode property to its default value.
(Inherited from Control)
Resets the control to handle the MouseLeave event.
(Inherited from Control)
Resets the RightToLeft property to its default value.
(Inherited from Control)
Resets the Text property to its default value (Empty).
(Inherited from Control)
Resumes usual layout logic.
(Inherited from Control)
Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.
(Inherited from Control)
Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
(Inherited from Control)
Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
(Inherited from Control)
Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
(Inherited from Control)
Converts the specified ContentAlignment to the appropriate ContentAlignment to support right-to-left text.
(Inherited from Control)
Converts the specified HorizontalAlignment to the appropriate HorizontalAlignment to support right-to-left text.
(Inherited from Control)
Converts the specified LeftRightAlignment to the appropriate LeftRightAlignment to support right-to-left text.
(Inherited from Control)
Scales the control and any child controls.
(Inherited from Control)
Scales the entire control and any child controls.
(Inherited from Control)
Scales the control and all child controls by the specified scaling factor.
(Inherited from Control)
Scales a logical bitmap value to it’s equivalent device unit value when a DPI change occurs.
(Inherited from Control)
Scales a control’s location, size, padding and margin.
(Inherited from ScrollableControl)
This method is not relevant for this class.
(Inherited from ScrollableControl)
Scrolls the specified child control into view on an auto-scroll enabled control.
(Inherited from ScrollableControl)
Calculates the scroll offset to the specified child control.
(Inherited from ScrollableControl)
Activates the control.
(Inherited from Control)
Activates a child control. Optionally specifies the direction in the tab order to select the control from.
(Inherited from Control)
Activates the next control.
(Inherited from Control)
Sends the control to the back of the z-order.
(Inherited from Control)
Sets the size of the auto-scroll margins.
(Inherited from ScrollableControl)
Sets a value indicating how a control will behave when its AutoSize property is enabled.
(Inherited from Control)
Sets the bounds of the control to the specified location and size.
(Inherited from Control)
Sets the specified bounds of the control to the specified location and size.
(Inherited from Control)
Sets the size of the client area of the control.
(Inherited from Control)
Positions the display window to the specified value.
(Inherited from ScrollableControl)
Sets the specified scroll state flag.
(Inherited from ScrollableControl)
Sets a specified ControlStyles flag to either true or false .
(Inherited from Control)
Sets the control as the top-level control.
(Inherited from Control)
Sets the control to the specified visible state.
(Inherited from Control)
Displays the control to the user.
(Inherited from Control)
Determines the size of the entire control from the height and width of its client area.
(Inherited from Control)
Temporarily suspends the layout logic for the control.
(Inherited from Control)
Returns a string containing the value of the Text property.
Causes the control to redraw the invalidated regions within its client area.
(Inherited from Control)
Updates the bounds of the control with the current size and location.
(Inherited from Control)
Updates the bounds of the control with the specified size and location.
(Inherited from Control)
Updates the bounds of the control with the specified size, location, and client size.
(Inherited from Control)
Forces the assigned styles to be reapplied to the control.
(Inherited from Control)
Updates the control in its parent’s z-order.
(Inherited from Control)
Processes Windows messages.
(Inherited from ScrollableControl)
Events
Occurs when the value of the AutoSize property changes.
Occurs when the value of the AutoSize property has changed.
(Inherited from Panel)
Occurs when the value of the BackColor property changes.
(Inherited from Control)
Occurs when the value of the BackgroundImage property changes.
(Inherited from Control)
Occurs when the BackgroundImageLayout property changes.
(Inherited from Control)
Occurs when the value of the BindingContext property changes.
(Inherited from Control)
Occurs when the value of the CausesValidation property changes.
(Inherited from Control)
Occurs when the focus or keyboard user interface (UI) cues change.
(Inherited from Control)
Occurs when the control is clicked.
(Inherited from Control)
Occurs when the value of the ClientSize property changes.
(Inherited from Control)
Occurs when the value of the ContextMenu property changes.
(Inherited from Control)
Occurs when the value of the ContextMenuStrip property changes.
(Inherited from Control)
Occurs when a new control is added to the Control.ControlCollection.
(Inherited from Control)
Occurs when a control is removed from the Control.ControlCollection.
(Inherited from Control)
Occurs when the value of the Cursor property changes.
(Inherited from Control)
Occurs when the component is disposed by a call to the Dispose() method.
(Inherited from Component)
Occurs when the value of the Dock property changes.
Occurs when the control is double-clicked.
(Inherited from Control)
Occurs when the DPI setting for a control is changed programmatically after the DPI of its parent control or form has changed.
(Inherited from Control)
Occurs when the DPI setting for a control is changed programmatically before a DPI change event for its parent control or form has occurred.
(Inherited from Control)
Occurs when a drag-and-drop operation is completed.
(Inherited from Control)
Occurs when an object is dragged into the control’s bounds.
(Inherited from Control)
Occurs when an object is dragged out of the control’s bounds.
(Inherited from Control)
Occurs when an object is dragged over the control’s bounds.
(Inherited from Control)
Occurs when the value of the Enabled property changes.
Occurs when the control is entered.
(Inherited from Control)
Occurs when the Font property value changes.
(Inherited from Control)
Occurs when the ForeColor property value changes.
(Inherited from Control)
Occurs during a drag operation.
(Inherited from Control)
Occurs when the control receives focus.
(Inherited from Control)
Occurs when a handle is created for the control.
(Inherited from Control)
Occurs when the control’s handle is in the process of being destroyed.
(Inherited from Control)
Occurs when the user requests help for a control.
(Inherited from Control)
Occurs when the ImeMode property has changed.
(Inherited from Control)
Occurs when a control’s display requires redrawing.
(Inherited from Control)
This member is not meaningful for this control.
(Inherited from Panel)
This member is not meaningful for this control.
(Inherited from Panel)
This member is not meaningful for this control.
(Inherited from Panel)
Occurs when a control should reposition its child controls.
(Inherited from Control)
Occurs when the input focus leaves the control.
(Inherited from Control)
Occurs when the value of the Location property changes.
Occurs when the Location property value has changed.
(Inherited from Control)
Occurs when the control loses focus.
(Inherited from Control)
Occurs when the control’s margin changes.
(Inherited from Control)
Occurs when the control loses mouse capture.
(Inherited from Control)
Occurs when the control is clicked by the mouse.
(Inherited from Control)
Occurs when the control is double clicked by the mouse.
(Inherited from Control)
Occurs when the mouse pointer is over the control and a mouse button is pressed.
(Inherited from Control)
Occurs when the mouse pointer enters the control.
(Inherited from Control)
Occurs when the mouse pointer rests on the control.
(Inherited from Control)
Occurs when the mouse pointer leaves the control.
(Inherited from Control)
Occurs when the mouse pointer is moved over the control.
(Inherited from Control)
Occurs when the mouse pointer is over the control and a mouse button is released.
(Inherited from Control)
Occurs when the mouse wheel moves while the control has focus.
(Inherited from Control)
Occurs when the control is moved.
(Inherited from Control)
Occurs when the control’s padding changes.
(Inherited from Control)
Occurs when the control is redrawn.
(Inherited from Control)
Occurs when the Parent property value changes.
(Inherited from Control)
Occurs before the KeyDown event when a key is pressed while focus is on this control.
(Inherited from Control)
Occurs when AccessibleObject is providing help to accessibility applications.
(Inherited from Control)
Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
(Inherited from Control)
Occurs when the value of the Region property changes.
(Inherited from Control)
Occurs when the control is resized.
(Inherited from Control)
Occurs when the RightToLeft property value changes.
(Inherited from Control)
Occurs when the user or code scrolls through the client area.
(Inherited from ScrollableControl)
Occurs when the Size property value changes.
(Inherited from Control)
Occurs when the control style changes.
(Inherited from Control)
Occurs when the system colors change.
(Inherited from Control)
Occurs when the value of the TabIndex property changes.
Occurs when the value of the TabStop property changes.
Occurs when the value of the Text property changes.
This member is not meaningful for this control.
(Inherited from Panel)
Occurs when the control is finished validating.
(Inherited from Control)
Occurs when the control is validating.
(Inherited from Control)
Occurs when the value of the Visible property changes.