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)
使控件的指定区域无效(将其添加到控件的更新区域,下次绘制操作时将重新绘制更新区域),并向控件发送绘制消息。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)
在拥有此控件的基础窗口句柄的线程上执行指定的委托。Executes the specified delegate on the thread that owns the control's underlying window handle.
(继承自Control)
在拥有控件的基础窗口句柄的线程上,用指定的参数列表执行指定委托。Executes the specified delegate, on the thread that owns the control's underlying window handle, with the specified list of arguments.
(继承自Control)
为指定的控件引发PaintBackground事件。Raises thePaintBackgroundevent for the specified control.
(继承自Control)
确定一个字符是否是控件可识别的输入字符。Determines if a character is an input character that the control recognizes.
(继承自Control)
处理特殊输入键,如Page Up、Page Down、Home、End 等等。Handles special input keys, such as PAGE UP, PAGE DOWN, HOME, END, and so on.
(继承自ListControl)
将逻辑 DPI 值转换为它的等效 DeviceUnit DPI 值。Converts a Logical DPI value to its equivalent DeviceUnit DPI value.
(继承自Control)
通过为当前 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)
被重写以确保正确设置和清除项。Overridden to be sure that items are set up and cleared out correctly.继承控件应调用base.OnHandleDestroyed。Inheriting controls should callbase.OnHandleDestroyed.
(继承自ListBox)
向控件通知 Windows 消息。Notifies the control of Windows messages.
(继承自Control)
绘制控件的背景。Paints the background of the control.
(继承自Control)
强制控件将布局逻辑应用于其所有子控件。Forces the control to apply layout logic to all its child controls.
(继承自Control)
强制控件将布局逻辑应用于其所有子控件。Forces the control to apply layout logic to all its child controls.
(继承自Control)
将指定屏幕点的位置计算成工作区坐标。Computes the location of the specified screen point into client coordinates.
(继承自Control)
将指定工作区点的位置计算成屏幕坐标。Computes the location of the specified client point into screen coordinates.
(继承自Control)
在调度键盘或输入消息之前,在消息循环内对它们进行预处理。Preprocesses keyboard or input messages within the message loop before they are dispatched.
(继承自Control)
在调度键盘或输入消息之前,在消息循环内对它们进行预处理。Preprocesses keyboard or input messages within the message loop before they are dispatched.
(继承自Control)
处理命令键。Processes a command key.
(继承自Control)
处理对话框字符。Processes a dialog character.
(继承自Control)
处理对话框键。Processes a dialog key.
(继承自Control)
处理键消息并生成适当的控件事件。Processes a key message and generates the appropriate control events.
(继承自Control)
处理键盘消息。Processes a keyboard message.
(继承自Control)
预览键盘消息。Previews a keyboard message.
(继承自Control)
处理助记键字符。Processes a mnemonic character.
(继承自Control)
引发适当的拖动事件。Raises the appropriate drag event.
(继承自Control)
引发适当的键事件。Raises the appropriate key event.
(继承自Control)
引发适当的鼠标事件。Raises the appropriate mouse event.
(继承自Control)
引发适当的绘画事件。Raises the appropriate paint event.
(继承自Control)
强制为控件重新创建句柄。Forces the re-creation of the handle for the control.
(继承自Control)
计算指定屏幕矩形的大小和位置(以工作区坐标表示)。Computes the size and location of the specified screen rectangle in client coordinates.
(继承自Control)
计算指定工作区矩形的大小和位置(以屏幕坐标表示)。Computes the size and location of the specified client rectangle in screen coordinates.
(继承自Control)
强制控件使其工作区无效并立即重绘自己。Forces the control to invalidate its client area and immediately redraw itself.
刷新指定索引处的项。Refreshes the item contained at the specified index.
(继承自ListBox)
发生 DPI 更改时,提供用于重新缩放控件的常数。Provides constants for rescaling the control when a DPI change occurs.
(继承自ListBox)
使绑定到BindingSource 的控件重新读取列表中的所有项,并刷新这些项的显示值。Causes a control bound to theBindingSource to reread all the items in the list and refresh their displayed values.
(继承自Control)
恢复正常的布局逻辑。Resumes usual layout logic.
(继承自Control)
恢复正常的布局逻辑,可以选择强制对挂起的布局请求立即进行布局。Resumes usual layout logic, optionally forcing an immediate layout of pending layout requests.
(继承自Control)
已过时。
缩放控件和任何子控件。Scales the control and any child controls.
(继承自Control)
已过时。
缩放整个控件和任何子控件。Scales the entire control and any child controls.
(继承自Control)
按指定的比例因子缩放控件和所有子控件。Scales the control and all child controls by the specified scaling factor.
(继承自Control)
发生 DPI 更改时,可以将逻辑位图值缩放到其等效设备单元值。Scales a logical bitmap value to it's equivalent device unit value when a DPI change occurs.
(继承自Control)
缩放控件的位置、大小、空白和边距。Scales a control's location, size, padding and margin.
(继承自ListBox)
此方法与此类无关。This method is not relevant for this class.
(继承自Control)
激活控件。Activates the control.
(继承自Control)
激活子控件。Activates a child control.还可以指定从中选择控件的 Tab 键顺序的方向。Optionally specifies the direction in the tab order to select the control from.
(继承自Control)
激活下一个控件。Activates the next control.
(继承自Control)
将控件发送到 Z 顺序的后面。Sends the control to the back of the z-order.
(继承自Control)
设置一个值,该值指示当启用控件的AutoSize 属性时控件的行为方式。Sets a value indicating how a control will behave when itsAutoSize property is enabled.
(继承自Control)
将控件的边界设置为指定位置和大小。Sets the bounds of the control to the specified location and size.
(继承自Control)
将控件的指定边界设置为指定位置和大小。Sets the specified bounds of the control to the specified location and size.
(继承自Control)
设置控件的工作区的大小。Sets the size of the client area of the control.
(继承自Control)
在派生类中设置具有指定索引的对象。Sets the object with the specified index in the derived class.
(继承自ListBox)
清除ListBox 的内容,并向控件中添加指定项。Clears the contents of theListBox and adds the specified items to the control.
(继承自ListBox)
将控件设置为顶级控件。Sets the control as the top-level control.
(继承自Control)
将控件设置为指定的可见状态。Sets the control to the specified visible state.
(继承自Control)
向用户显示控件。Displays the control to the user.
(继承自Control)
确定整个控件(从控件工作区的高度和宽度起计算)的大小。Determines the size of the entire control from the height and width of its client area.
(继承自Control)
临时挂起控件的布局逻辑。Temporarily suspends the layout logic for the control.
(继承自Control)
使控件重绘其工作区内的无效区域。Causes the control to redraw the invalidated regions within its client area.
(继承自Control)
用当前大小和位置更新控件的边界。Updates the bounds of the control with the current size and location.
(继承自Control)
用指定大小和位置更新控件的边界。Updates the bounds of the control with the specified size and location.
(继承自Control)
用指定大小、位置和工作区的大小更新控件的边界。Updates the bounds of the control with the specified size, location, and client size.
(继承自Control)
强制将分配的样式重新应用到控件。Forces the assigned styles to be reapplied to the control.
(继承自Control)
按控件的父级的 Z 顺序更新控件。Updates the control in its parent's z-order.
(继承自Control)
处理ListView 控件从顶级窗口中接收的命令消息。Processes the command message theListView control receives from the top-level window.
(继承自ListBox)
列表的窗口过程。The list's window procedure.
(继承自ListBox)

事件

此事件与此类无关。This event is not relevant for this class.
(继承自Control)
焦点或键盘用户界面 (UI) 提示更改时发生。Occurs when the focus or keyboard user interface (UI) cues change.
(继承自Control)
当Dock 属性的值更改时发生。Occurs when the value of theDock property changes.
(继承自Control)
在双击控件时发生。Occurs when the control is double-clicked.
(继承自Control)
当父控件或窗体的 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)
父控件或窗体的 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)
拖放操作完成时发生。Occurs when a drag-and-drop operation is completed.
(继承自Control)
在将对象拖入控件的边界时发生。Occurs when an object is dragged into the control's bounds.
(继承自Control)
将对象拖出控件的边界时发生。Occurs when an object is dragged out of the control's bounds.
(继承自Control)
在将对象拖到控件的边界上发生。Occurs when an object is dragged over the control's bounds.
(继承自Control)
进入控件时发生。Occurs when the control is entered.
(继承自Control)
在该控件绑定到数据值时发生。Occurs when the control is bound to a data value.
(继承自ListControl)
在执行拖动操作期间发生。Occurs during a drag operation.
(继承自Control)
在控件接收焦点时发生。Occurs when the control receives focus.
(继承自Control)
在为控件创建句柄时发生。Occurs when a handle is created for the control.
(继承自Control)
在控件的句柄处于销毁过程中时发生。Occurs when the control's handle is in the process of being destroyed.
(继承自Control)
用户请求控件帮助时发生。Occurs when the user requests help for a control.
(继承自Control)
控件的显示要求重新绘制时发生。Occurs when a control's display requires redrawing.
(继承自Control)
在控件有焦点的情况下按下键时发生。Occurs when a key is pressed while the control has focus.
(继承自Control)
在控件有焦点的情况下Occurs when a character.字符、空格或退格键时发生。space or backspace key is pressed while the control has focus.
(继承自Control)
在控件有焦点的情况下释放键时发生。Occurs when a key is released while the control has focus.
(继承自Control)
在控件应重新定位其子控件时发生。Occurs when a control should reposition its child controls.
(继承自Control)
在输入焦点离开控件时发生。Occurs when the input focus leaves the control.
(继承自Control)
在控件失去焦点时发生。Occurs when the control loses focus.
(继承自Control)
在控件边距更改时发生。Occurs when the control's margin changes.
(继承自Control)
创建所有者描述的ListBox 和确定列表项的大小时发生。Occurs when an owner-drawnListBox is created and the sizes of the list items are determined.
(继承自ListBox)
当控件失去鼠标捕获时发生。Occurs when the control loses mouse capture.
(继承自Control)
当用户使用鼠标指针单击ListBox 控件时发生。Occurs when the user clicks theListBox control with the mouse pointer.
(继承自ListBox)
用鼠标双击控件时发生。Occurs when the control is double clicked by the mouse.
(继承自Control)
当鼠标指针位于控件上并按下鼠标键时发生。Occurs when the mouse pointer is over the control and a mouse button is pressed.
(继承自Control)
在鼠标指针进入控件时发生。Occurs when the mouse pointer enters the control.
(继承自Control)
在鼠标指针停放在控件上时发生。Occurs when the mouse pointer rests on the control.
(继承自Control)
在鼠标指针离开控件时发生。Occurs when the mouse pointer leaves the control.
(继承自Control)
在鼠标指针移到控件上时发生。Occurs when the mouse pointer is moved over the control.
(继承自Control)
在鼠标指针在控件上并释放鼠标键时发生。Occurs when the mouse pointer is over the control and a mouse button is released.
(继承自Control)
在控件有焦点且鼠标轮移动时发生。Occurs when the mouse wheel moves while the control has focus.
(继承自Control)
在移动控件时发生。Occurs when the control is moved.
(继承自Control)
在焦点位于此控件上的情况下,当有按键动作时发生(在KeyDown 事件之前发生)。Occurs before theKeyDown event when a key is pressed while focus is on this control.
(继承自Control)
在拖放操作期间发生,并且允许拖动源确定是否应取消拖放操作。Occurs during a drag-and-drop operation and enables the drag source to determine whether the drag-and-drop operation should be canceled.
(继承自Control)
在调整控件大小时发生。Occurs when the control is resized.
(继承自Control)
在控件样式更改时发生。Occurs when the control style changes.
(继承自Control)
系统颜色更改时发生。Occurs when the system colors change.
(继承自Control)
在控件完成验证时发生。Occurs when the control is finished validating.
(继承自Control)
在控件验证时发生。