其实看属性,最好最全的肯定是官方的文档
官方文档链接
View -->EditView–>TextEdit
详解
属性 | 控件名 | 含义 | 中文翻译 |
---|---|---|---|
Public property | AccessibilityObject | Gets the System.Windows.Forms.AccessibleObject assigned to the control. (Inherited from System.Windows.Forms.Control) | 获取分配给 控件的System.Windows.Forms.AccessibleObject。 (继承自System.Windows.Forms.Control) |
Public property | AccessibleDefaultActionDescription | Gets or sets the default action description of the editor for use by accessibility client applications. (Inherited from BaseEdit) | 获取或设置 可访问性客户端应用程序使用的编辑器的默认操作描述。(继承自BaseEdit) |
Public property | AccessibleDescription 无障碍说明 | Gets or sets the description of the editor used by accessibility client applications. (Inherited from BaseEdit) | 获取或设置 可访问性客户端应用程序使用的编辑器的描述。(继承自BaseEdit) |
Public property | AccessibleName 可访问名称 | Gets or sets the editor’s name which is used by accessibility client applications. (Inherited from BaseEdit) | 获取或设置 可访问性客户端应用程序使用的编辑器名称。(继承自BaseEdit) |
Public property | AccessibleRole 无障碍角色 | Gets or sets the editor’s accessible role. (Inherited from BaseEdit) | 获取或设置 编辑者的可访问角色(继承自BaseEdit) |
Public property | AllowDrop 允许丢弃 | Gets or sets a value indicating whether the control can accept data that the user drags onto it. (Inherited from System.Windows.Forms.Control) | 获取或设置 一个值,该值指示控件是否可以接受用户拖动到其上的数据。(继承自System.Windows.Forms.Control) |
Public property | AllowHtmlTextInToolTip | Gets or sets whether HTML formatting is allowed in the control’s regular tooltips. (Inherited from BaseControl) | 获取或设置 控件的常规工具提示中是否允许HTML格式。(继承自BaseControl) |
Public property | 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. (Inherited from System.Windows.Forms.Control) | 获取或设置 控件绑定到的容器的边缘,并确定如何使用其父控件调整控件的大小。(继承自System.Windows.Forms.Control) |
Public property | AutoScrollOffset 自动滚动偏移 | Gets or sets where this control is scrolled to in System.Windows.Forms.ScrollableControl.ScrollControlIntoView. (Inherited from System.Windows.Forms.Control) | 获取或设置 此控件在System.Windows.Forms.ScrollableControl.ScrollControlIntoView中的滚动位置。(继承自System.Windows.Forms.Control) |
Public property | AutoSize 自动尺寸 | This property is not relevant for this class. (Inherited from System.Windows.Forms.Control) | 此属性与此类无关。(继承自System.Windows.Forms.Control) |
Public property | AutoSizeInLayoutControl | When a control is added to a LayoutControl, this property specifies whether the control’s width is changed to display its content in its entirety. This member is supported by individual descendant of the BaseControl class.(Inherited from BaseControl) | 将控件添加到 LayoutControl时,此属性指定是否更改控件的宽度以完整显示其内容。BaseControl类的单个后代支持此成员。(继承自BaseControl) |
Public property | BackColor 背景色 | Gets or sets the editor’s background color. | 获取或设置编辑器的背景色。 |
Public property | BackgroundImage 背景图片 | This property isn’t used. | 此属性未使用 |
Public property | BackgroundImageLayout | This property isn’t used. | 此属性未使用 |
Public property | BindingContext 绑定上下文 | Gets or sets the System.Windows.Forms.BindingContext for the control. (Inherited from System.Windows.Forms.Control) | 获取或设置控件的System.Windows.Forms.BindingContext。(继承自System.Windows.Forms.Control) |
Public property | BindingManager 绑定管理器 | Gets the BindingManagerBase object. (Inherited from BaseEdit) | 获取BindingManagerBase对象。(继承自BaseEdit) |
Public property | BorderStyle 边框样式 | Gets or sets the editor’s border style. (Inherited from BaseEdit) | 获取或设置编辑器的边框样式。(继承自BaseEdit) |
Public property | Bottom 底部 | Gets the distance, in pixels, between the bottom edge of the control and the top edge of its container’s client area. (Inherited from System.Windows.Forms.Control) | 获取控件的底部边缘与其容器的工作区的顶部边缘之间的距离(以像素为单位)。(继承自System.Windows.Forms.Control) |
Public property | Bounds 界限 | Gets or sets the size and location of the control including its nonclient elements, in pixels, relative to the parent control. (Inherited from System.Windows.Forms.Control) | 获取或设置相对于父控件的控件的大小和位置(包括其非客户端元素),以像素为单位。(继承自System.Windows.Forms.Control) |
Public property | CanFocus | Gets a value indicating whether the control can receive focus. (Inherited from System.Windows.Forms.Control) | 获取一个值,该值指示控件是否可以接收焦点。(继承自System.Windows.Forms.Control) |
Public property | CanSelect | Gets a value indicating whether the control can be selected. (Inherited from System.Windows.Forms.Control) | 获取一个值,该值指示是否可以选择控件。(继承自System.Windows.Forms.Control) |
Public property | CanShowDialog | For internal use. (Inherited from BaseEdit) | 供内部使用。(继承自BaseEdit) |
Public property | CanUndo 可以撤销 | Gets a value indicating whether the previous edit operation can be undone. | 获取一个值,该值指示是否可以撤消上一个编辑操作。 |
Public property | Capture 捕获 | Gets or sets a value indicating whether the control has captured the mouse. (Inherited from System.Windows.Forms.Control) | 获取或设置一个值,该值指示控件是否已捕获鼠标。(继承自System.Windows.Forms.Control) |
Public property | 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. (Inherited from System.Windows.Forms.Control) | 获取或设置一个值,该值指示控件在接收焦点时是否导致对需要验证的任何控件执行验证。(继承自System.Windows.Forms.Control) |
Public propertyStatic member | CheckForIllegalCrossThreadCalls | Gets or sets a value indicating whether to catch calls on the wrong thread that access a control’s System.Windows.Forms.Control.Handle property when an application is being debugged. (Inherited from System.Windows.Forms.Control) | 获取或设置一个值,该值指示在调试应用程序时是否在访问控件的System.Windows.Forms.Control.Handle属性的错误线程上捕获调用。(继承自System.Windows.Forms.Control) |
Public property | ClientRectangle 客户矩形 | Gets the rectangle that represents the client area of the control. (Inherited from System.Windows.Forms.Control) | 获取表示控件的工作区的矩形。(继承自System.Windows.Forms.Control) |
Public property | ClientSize 客户端大小 | Gets or sets the height and width of the client area of the control. (Inherited from System.Windows.Forms.Control) | 获取或设置控件工作区的高度和宽度。(继承自System.Windows.Forms.Control) |
Public property | CompanyName 公司名 | ControlCompanyNameDescr (Inherited from System.Windows.Forms.Control) | ControlCompanyNameDescr(继承自System.Windows.Forms.Control) |
Public property | Container 容器 | Gets the System.ComponentModel.IContainer that contains the System.ComponentModel.Component. (Inherited from System.ComponentModel.Component) | 获取包含System.ComponentModel.Component的System.ComponentModel.IContainer。(继承自System.ComponentModel.Component) |
Public property | ContainsFocus 包含焦点 | Gets a value indicating whether the control, or one of its child controls, currently has the input focus. (Inherited from System.Windows.Forms.Control) | 获取一个值,该值指示该控件或其子控件之一当前是否具有输入焦点。(继承自System.Windows.Forms.Control) |
Public property | ContextMenu 上下文菜单 | Gets or sets the context menu for the editor. (Inherited from BaseEdit) | 获取或设置编辑器的上下文菜单。(继承自BaseEdit) |
Public property | ContextMenuStrip | Gets or sets a System.Windows.Forms.ContextMenuStrip associated with the current control (Inherited from BaseEdit) | 获取或设置与当前控件关联的System.Windows.Forms.ContextMenuStrip(继承自BaseEdit) |
Public property | Controls 控制项 | Gets the collection of controls contained within the control. (Inherited from System.Windows.Forms.Control) | 获取控件中包含的控件的集合。(继承自System.Windows.Forms.Control) |
Public property | Created 已建立 | Gets a value indicating whether the control has been created. (Inherited from System.Windows.Forms.Control) | 获取一个值,该值指示是否已创建控件。(继承自System.Windows.Forms.Control) |
Public property | Cursor 光标 | Gets or sets the cursor that is displayed when the mouse pointer is over the ControlBase control. (Inherited from ControlBase) | 获取或设置当鼠标指针悬停在ControlBase控件上时显示的光标。(继承自ControlBase) |
Public property | DataBindings 数据绑定 | Gets the data bindings for the control. (Inherited from System.Windows.Forms.Control) | |
Public propertyStatic member | DefaultBackColor 默认背景色 | Gets the default background color of the control. (Inherited from System.Windows.Forms.Control) | |
Public propertyStatic member | DefaultErrorIcon 错误图标 | Gets or sets the default error icon. (Inherited from BaseEdit) | |
Public propertyStatic member | DefaultErrorIconAlignment | Gets or sets the location of the default error icon in relation to the editor. (Inherited from BaseEdit) | 获取或设置默认错误图标相对于编辑器的位置。(继承自BaseEdit) |
Public propertyStatic member | DefaultErrorImageOptions | Provides access to properties that allow you to assign and customize a default image displayed within the editor, when an error is associated with the editor. (Inherited from BaseEdit) | 提供对属性的访问,当错误与编辑器相关联时,该属性允许您分配和自定义编辑器中显示的默认图像。(继承自BaseEdit) |
Public propertyStatic member | DefaultFont 默认字体 | Gets the default font of the control. (Inherited from System.Windows.Forms.Control) | |
Public propertyStatic member | DefaultForeColor 默认前背景色 | Gets the default foreground color of the control. (Inherited from System.Windows.Forms.Control) | |
Public property | DeviceDpi 设备dpi | (Inherited from System.Windows.Forms.Control) | |
Public property | DisplayRectangle 显示矩形 | Gets the rectangle that represents the display area of the control. (Inherited from System.Windows.Forms.Control) | |
Public property | Disposing 处置 | Gets a value indicating whether the base System.Windows.Forms.Control class is in the process of disposing. (Inherited from System.Windows.Forms.Control) | 获取一个值,该值指示基础System.Windows.Forms.Control类是否正在处置。(继承自System.Windows.Forms.Control) |
Public property | Dock 码头 | Gets or sets which control borders are docked to its parent control and determines how a control is resized with its parent. (Inherited from System.Windows.Forms.Control) | 获取或设置哪些控件边框停靠在其父控件上,并确定如何使用其父控件调整控件的大小。(继承自System.Windows.Forms.Control)· |
Public property | EditorContainsFocus 编辑器包含焦点 | Tests whether the editor or its popup window has focus. (Inherited from BaseEdit) | |
Public property | EditorTypeName | Gets the editor’s class name. | 编辑器类名 |
Public property | EditValue | Gets or sets the editor’s value. (Inherited from BaseEdit) | 编辑器的值 |
Public property | Enabled | Gets or sets a value indicating whether the control can respond to user interaction. (Inherited from System.Windows.Forms.Control) | |
Public property | EnterMoveNextControl | Gets or sets whether focus is moved to the next control (according to the tab order) | when an end-user presses ENTER. (Inherited from BaseEdit) |
Public property | ErrorIcon 错误图表 | Gets or sets the error icon displayed within the editor, when an error is associated with the editor. (Inherited from BaseEdit)当错误与编辑器相关联时,获取或设置在编辑器中显示的错误图标。(继承自BaseEdit) | |
Public property | ErrorIconAlignment | Gets or sets the alignment of the error icon displayed within the editor, when an error is associated with the editor. (Inherited from BaseEdit) | 当错误与编辑器相关联时,获取或设置在编辑器中显示的错误图标的对齐方式。(继承自BaseEdit) |
Public property | ErrorImageOptions | Provides access to properties that allow you to assign and customize an image displayed within the editor, when an error is associated with the editor. (Inherited from BaseEdit) | 提供对属性的访问,当错误与编辑器相关联时,该属性允许您分配和自定义编辑器中显示的图像。(继承自BaseEdit) |
Public property | ErrorText 错误文字 | Gets or sets the error description for the editor. (Inherited from BaseEdit) | |
Public property | Focused | Gets a value indicating whether the control has input focus. (Inherited from System.Windows.Forms.Control) | 是否具有焦点 |
Public property | Font 字体 | Gets or sets the font used to display editor contents. (Inherited from BaseEdit) | |
Public property | ForeColor 前景色 | Gets or sets the editor content’s foreground color. (Inherited from BaseEdit) | |
Public property | Handle | Gets the window handle that the control is bound to. (Inherited from System.Windows.Forms.Control) | 获取控件绑定到窗口句柄 |
Public property | HasChildren | Gets a value indicating whether the control contains one or more child controls. (Inherited from System.Windows.Forms.Control) | 是否有子控件 |
Public property | Height 高度 | Gets or sets the height of the control. (Inherited from System.Windows.Forms.Control) | |
Public property | ImeMode | Gets or sets the Input Method Editor (IME) | mode of the control. (Inherited from System.Windows.Forms.Control) |
Public property | InplaceType | Gets or sets the inplace type of an editor. (Inherited from BaseEdit) | 编辑器就为类型 |
Public property | InvokeRequired | 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 System.Windows.Forms.Control) | 获取一个值,该值指示在对控件进行方法调用时调用者是否必须调用invoke方法,因为调用者所在的线程与控件创建所在的线程不同。(继承自System.Windows.Forms.Control) |
Public property | IsAccessible | Gets or sets a value indicating whether the control is visible to accessibility applications. (Inherited from System.Windows.Forms.Control) | 获取或设置一个值,该值指示该控件是否对辅助功能应用程序可见。(继承自System.Windows.Forms.Control) |
Public property | IsDesignMode | Gets a value indicating whether the control is currently in design mode. (Inherited from BaseControl) | 获取一个值,该值指示控件当前是否处于设计模式。(继承自BaseControl) |
Public property | IsDisposed | Gets a value indicating whether the control has been disposed of. (Inherited from System.Windows.Forms.Control) | 获取一个值,该值指示控件是否已被处置。(继承自System.Windows.Forms.Control) |
Public property | IsDrawing | This member supports the internal infrastructure, and is not intended to be used directly from your code. (Inherited from BaseEdit) | 该成员支持内部基础结构,不能直接在您的代码中使用。(继承自BaseEdit) |
Public property | IsEditorActive | Gets whether the editor is active. | 获取编辑器是否处于活动状态。 |
Public property | IsHandleCreated | Gets a value indicating whether the control has a handle associated with it. (Inherited from System.Windows.Forms.Control) | 获取一个值,该值指示控件是否具有与其关联的句柄。(继承自System.Windows.Forms.Control) |
Public property | IsLoading | Gets a value indicating whether the editor is being loaded. (Inherited from BaseEdit) | 正在加载编辑器 |
Public property | IsMirrored | Gets a value indicating whether the control is mirrored. (Inherited from System.Windows.Forms.Control) | 是否已镜像 |
Public property | IsModified | Gets or sets whether the editor’s value has been modified since the editor last received focus or since it was last validated. (Inherited from BaseEdit) | 获取或设置编辑器的值自上次获得焦点以来还是自上次验证以来是否已被修改。(继承自BaseEdit) |
Public property | IsNeedFocus | This member supports the internal editors library infrastructure and is not intended to be used from your code. | 该成员支持内部编辑器库的基础结构,不能在您的代码中使用。 |
Public property | IsRightToLeft | Gets whether the ControlBase’s visual elements are actually aligned to support locales using right-to-left fonts. (Inherited from ControlBase) | 获取ControlBase的可视元素是否实际上已对齐,以使用从右到左的字体来支持语言环境。(继承自ControlBase) |
Public property | LayoutEngine | Gets a cached instance of the control’s layout engine. (Inherited from System.Windows.Forms.Control) | 获取控件的布局引擎的缓存实例。(继承自System.Windows.Forms.Control) |
Public property | 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. (Inherited from System.Windows.Forms.Control) | 获取或设置控件的左边缘与其容器的工作区的左边缘之间的距离(以像素为单位)。(继承自System.Windows.Forms.Control) |
Public property | Location | Gets or sets the coordinates of the upper-left corner of the control relative to the upper-left corner of its container. (Inherited from System.Windows.Forms.Control) | 获取或设置控件的左边缘与其容器的工作区的左边缘之间的距离(以像素为单位)。(继承自System.Windows.Forms.Control) |
Public property | LookAndFeel 外观和感觉 | Gets an object containing the editor’s look and feel settings. (Inherited from BaseEdit) | 获取一个包含编辑器的外观设置的对象。(继承自BaseEdit) |
Public property | Margin | Gets or sets the space between controls. (Inherited from System.Windows.Forms.Control) | 获取或设置控件之间的空间。(继承自System.Windows.Forms.Control) |
Public property | MaskBox | Gets the text box that provides text editing functionality. | 获取提供文本编辑功能的文本框。 |
Public property | MaximumSize | Gets or sets the size that is the upper limit that System.Windows.Forms.Control.GetPreferredSize can specify. (Inherited from System.Windows.Forms.Control) | 获取或设置大小,该大小是System.Windows.Forms.Control.GetPreferredSize可以指定的上限。(继承自System.Windows.Forms.Control) |
Public property | MenuManager | Gets or sets an object that controls the look and feel of the popup menus. (Inherited from BaseEdit) | 获取或设置一个对象,该对象控制弹出菜单的外观。(继承自BaseEdit) |
Public property | MinimumSize | Gets or sets the size that is the lower limit that System.Windows.Forms.Control.GetPreferredSize can specify. (Inherited from System.Windows.Forms.Control) | 获取或设置大小,该大小是System.Windows.Forms.Control.GetPreferredSize可以指定的下限。(继承自System.Windows.Forms.Control) |
Public propertyStatic member | ModifierKeys 修饰键 | Gets a value indicating which of the modifier keys (SHIFT, CTRL, and ALT) | is in a pressed state. (Inherited from System.Windows.Forms.Control) |
Public propertyStatic member | MouseButtons 鼠标按键 | Gets a value indicating which of the mouse buttons is in a pressed state. (Inherited from System.Windows.Forms.Control) | 获取一个值,该值指示哪个鼠标按钮处于按下状态。(继承自System.Windows.Forms.Control) |
Public propertyStatic member | MousePosition 鼠标位置 | Gets the position of the mouse cursor in screen coordinates. (Inherited from System.Windows.Forms.Control) | 获取鼠标光标在屏幕坐标中的位置。(继承自System.Windows.Forms.Control) |
Public property | Name 名称 | Gets or sets the name of the control. (Inherited from System.Windows.Forms.Control) | |
Public property | OldEditValue | Gets the last successfully validated value. (Inherited from BaseEdit) | 获取最后一个成功验证的值 |
Public property | Padding 填充 | This property is not supported by the BaseEdit class. (Inherited from BaseEdit) | |
Public property | Parent 父级 | Gets or sets the parent container of the control. (Inherited from System.Windows.Forms.Control) | 获取父容器 |
Public propertyStatic member | PopupServiceControl | This member supports the internal infrastructure, and is not intended to be used directly from your code. (Inherited from BaseEdit) | 该成员支持内部基础结构,不能直接在您的代码中使用。(继承自BaseEdit) |
Public property | PreferredSize | Gets the size of a rectangular area into which the control can fit. (Inherited from System.Windows.Forms.Control) | 获取控件可以容纳的矩形区域的大小。(继承自System.Windows.Forms.Control) |
Public property | ProductName | Gets the product name of the assembly containing the control. (Inherited from System.Windows.Forms.Control) | 获取包含控件的程序集的产品名称。(继承自System.Windows.Forms.Control) |
Public property | ProductVersion 产品版本 | Gets the version of the assembly containing the control. (Inherited from System.Windows.Forms.Control) | |
Public property | Properties | Gets an object containing this editor’s settings. | |
Public property | ReadOnly 只读 | Gets or sets whether the editor’s value cannot be changed by end-users. (Inherited from BaseEdit) | |
Public property | RecreatingHandle | Gets a value indicating whether the control is currently re-creating its handle. (Inherited from System.Windows.Forms.Control) | 获取一个值,该值指示控件当前是否正在重新创建其句柄。(继承自System.Windows.Forms.Control) |
Public property | Region 区域 | Gets or sets the window region associated with the control. (Inherited from System.Windows.Forms.Control) | 获取或设置与控件关联的窗口区域。(继承自System.Windows.Forms.Control) |
Public property | Right | Gets the distance, in pixels, between the right edge of the control and the left edge of its container’s client area. (Inherited from System.Windows.Forms.Control) | 获取控件的右边缘与其容器的工作区的左边缘之间的距离(以像素为单位)。(继承自System.Windows.Forms.Control) |
Public property | RightToLeft | Gets or sets a value indicating whether control’s elements are aligned to support locales using right-to-left fonts. (Inherited from System.Windows.Forms.Control) | 获取或设置一个值,该值指示控件的元素是否使用从右到左的字体对齐以支持语言环境。(继承自System.Windows.Forms.Control) |
Public property | ScaleFactor 比例因子 | Returns scale multipliers that are currently applied to a control’s original width and height. (Inherited from BaseControl) | 返回当前应用于控件原始宽度和高度的比例乘数。(继承自BaseControl) |
Public property | SelectedText | Gets or sets a value that indicates the selected text in the editor. | 获取或设置一个值,该值指示编辑器中的选定文本。 |
Public property | SelectionLength | Gets or sets the number of characters selected in the text box. | 获取或设置在文本框中选择的字符数。 |
Public property | SelectionStart | Gets or sets the starting point of text selected in the text box. | 获取或设置在文本框中选择的文本的起点。 |
Public property | ServiceObject 服务对象 | This method is used internally when using editors inplace and is not intended to be called in your code. (Inherited from BaseEdit) | 在就地使用编辑器时在内部使用此方法,并且不应在代码中调用此方法。(继承自BaseEdit) |
Public property | ShowToolTips | Gets or sets whether a tooltip should be displayed when the mouse pointer is over the control. (Inherited from BaseControl) | 获取或设置当鼠标指针悬停在控件上时是否显示工具提示。(继承自BaseControl) |
Public property | Site | Gets or sets the site of the control. (Inherited from System.Windows.Forms.Control) | 获取或设置控件的位置。(继承自System.Windows.Forms.Control) |
Public property | Size | Gets or sets the height and width of the control. (Inherited from System.Windows.Forms.Control) | |
Public property | StyleController 样式控制器 | Gets or sets the style controller component that provides style settings for this control. (Inherited from BaseControl) | |
Public property | SuperTip | Gets or sets a SuperToolTip for the current control. (Inherited from BaseControl) | |
Public property | TabIndex 标签索引 | Gets or sets the tab order of the control within its container. (Inherited from System.Windows.Forms.Control) | 获取或设置控件在其容器内的选项卡顺序。(继承自System.Windows.Forms.Control) |
Public property | TabStop | Gets or sets a value indicating whether the user can focus this control using the TAB key. | 获取或设置一个值,该值指示用户是否可以使用TAB键集中控制此控件。 |
Public property | Tag | Gets or sets the object that contains data about the control. (Inherited from System.Windows.Forms.Control) | 获取或设置包含有关控件数据的对象。(继承自System.Windows.Forms.Control) |
Public property | Text | Gets or sets the text displayed in the edit box. | 获取或设置在编辑框中显示的文本。 |
Public property | ToolTip 工具提示 | Gets or sets a regular tooltip’s content. (Inherited from BaseControl) | 获取或设置常规工具提示的内容。(继承自BaseControl) |
Public property | ToolTipAnchor | 工具提示锚Gets or sets whether the tooltip is anchored relative to the mouse cursor or relative to the editor. (Inherited from BaseEdit) | 获取或设置工具提示是相对于鼠标光标还是相对于编辑器锚定。(继承自BaseEdit) |
Public property | ToolTipController 工具提示器 | Gets or sets the tooltip controller component that controls the appearance, position and content of hints displayed for this control. (Inherited from BaseControl) | 获取或设置工具提示控制器组件,该组件控制此控件显示的提示的外观,位置和内容。(继承自BaseControl) |
Public property | ToolTipIconType | Gets or sets the type of the tooltip icon. (Inherited from BaseControl) | 获取或设置工具提示图标的类型。(继承自BaseControl) |
Public property | ToolTipTitle 工具提示标题 | Gets or sets a regular tooltip’s title. (Inherited from BaseControl) | |
Public property | Top | 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 System.Windows.Forms.Control) | 获取或设置控件的顶部边缘与其容器的工作区的顶部边缘之间的距离(以像素为单位)。(继承自System.Windows.Forms.Control) |
Public property | TopLevelControl | Gets the parent control that is not parented by another Windows Forms control. Typically, this is the outermost System.Windows.Forms.Form that the control is contained in. (Inherited from System.Windows.Forms.Control) | 获取未由另一个Windows Forms控件作为父控件的父控件。通常,这是控件所在的最外部的System.Windows.Forms.Form。(继承自System.Windows.Forms.Control) |
Public property | UseWaitCursor | Gets or sets a value indicating whether to use the wait cursor for the current control and all child controls. (Inherited from System.Windows.Forms.Control) | 获取或设置一个值,该值指示是否对当前控件和所有子控件使用等待光标。(继承自System.Windows.Forms.Control) |
Public property | Visible | Gets or sets a value indicating whether the control and all its parent controls are displayed. (Inherited from System.Windows.Forms.Control) | 获取或设置一个值,该值指示是否显示该控件及其所有父控件。(继承自System.Windows.Forms.Control) |
Public property | Width | Gets or sets the width of the control. (Inherited from System.Windows.Forms.Control) | 获取或设置控件的宽度。(继承自System.Windows.Forms.Control) |
Public property | WindowTarget | This property is not relevant for this class. (Inherited from System.Windows.Forms.Control) | 此属性与此类无关。(继承自System.Windows.Forms.Control) |
其他:
1.调整textEdit的长、宽?
可以通过调整properties中字体的大小
2.设置不可编辑
enabled =false
focusable=false