ToolStripPanelRow 类

定义

表示可包含控件的 ToolStripPanel 行。

public ref class ToolStripPanelRow : System::ComponentModel::Component, IDisposable
public class ToolStripPanelRow : System.ComponentModel.Component, IDisposable
type ToolStripPanelRow = class
    inherit Component
    interface IComponent
    interface IDisposable
Public Class ToolStripPanelRow
Inherits Component
Implements IDisposable
继承
ToolStripPanelRow
实现

构造函数

名称 说明
ToolStripPanelRow(ToolStripPanel)

初始化类的新实例 ToolStripPanelRow ,并指定包含 ToolStripPanel

属性

名称 说明
Bounds

获取相对于父控件的大小和位置 ToolStripPanelRow,包括其非client 元素(以像素为单位)。

CanRaiseEvents

获取一个值,该值指示组件是否可以引发事件。

(继承自 Component)
Container

IContainer获取包含 .Component

(继承自 Component)
Controls

获取 . 中的 ToolStripPanelRow控件

DefaultMargin

获取默认情况下在控件之间指定的空间(以像素为单位)。

DefaultPadding

获取控件内容的内部间距(以像素为单位)。

DesignMode

获取一个值,该值指示当前是否 Component 处于设计模式。

(继承自 Component)
DisplayRectangle

获取控件的显示区域。

Events

获取附加到此 Component对象的事件处理程序的列表。

(继承自 Component)
LayoutEngine

获取控件布局引擎的实例。

Margin

获取或设置控件之间的间距。

Orientation

获取相对于其包含ToolStripPanelRowToolStripPanel布局方向。

Padding

获取或设置控件中的填充。

Site

获取或设置 ISiteComponent

(继承自 Component)
ToolStripPanel

ToolStripPanel获取包含 .ToolStripPanelRow

方法

名称 说明
CanMove(ToolStrip)

获取或设置一个值,该值指示是否可以 ToolStrip 拖放到其中 ToolStripPanelRow

CreateObjRef(Type)

创建一个对象,其中包含生成用于与远程对象通信的代理所需的所有相关信息。

(继承自 MarshalByRefObject)
Dispose()

释放该 Component命令使用的所有资源。

(继承自 Component)
Dispose(Boolean)

释放由托管资源使用 ToolStripPanelRow 的非托管资源,并选择性地释放托管资源。

Equals(Object)

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()

用作默认哈希函数。

(继承自 Object)
GetLifetimeService()
已过时.

检索控制此实例的生存期策略的当前生存期服务对象。

(继承自 MarshalByRefObject)
GetService(Type)

返回一个对象,该对象表示服务由 Component 或其 Container提供的服务。

(继承自 Component)
GetType()

获取当前实例的 Type

(继承自 Object)
InitializeLifetimeService()
已过时.

获取生存期服务对象来控制此实例的生存期策略。

(继承自 MarshalByRefObject)
MemberwiseClone()

创建当前 Object的浅表副本。

(继承自 Object)
MemberwiseClone(Boolean)

创建当前 MarshalByRefObject 对象的浅表副本。

(继承自 MarshalByRefObject)
OnBoundsChanged(Rectangle, Rectangle)

属性 Bounds 更改时发生。

OnControlAdded(Control, Int32)

引发 ControlAdded 事件。

OnControlRemoved(Control, Int32)

引发 ControlRemoved 事件。

OnLayout(LayoutEventArgs)

引发 Layout 事件。

OnOrientationChanged()

Orientation 属性的值更改时发生。

ToString()

返回包含 String 的名称 Component(如果有)。 不应重写此方法。

(继承自 Component)

活动

名称 说明
Disposed

当组件通过对方法的调用 Dispose() 释放时发生。

(继承自 Component)

适用于