ToolStripPanelRow ToolStripPanelRow ToolStripPanelRow ToolStripPanelRow Class


表示可包含控制項之 ToolStripPanel 的資料列。Represents a row of a ToolStripPanel that can contain controls.

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(ToolStripPanel) ToolStripPanelRow(ToolStripPanel) ToolStripPanelRow(ToolStripPanel) ToolStripPanelRow(ToolStripPanel)

初始化 ToolStripPanelRow 類別的新執行個體,並指定包含的 ToolStripPanelInitializes a new instance of the ToolStripPanelRow class, specifying the containing ToolStripPanel.


Bounds Bounds Bounds Bounds

取得或設定 ToolStripPanelRow (包括其非用戶端項目) 相對於父控制項的大小和位置 (以像素為單位)。Gets the size and location of the ToolStripPanelRow, including its nonclient elements, in pixels, relative to the parent control.

CanRaiseEvents CanRaiseEvents CanRaiseEvents CanRaiseEvents

取得值,指出元件是否能引發事件。Gets a value indicating whether the component can raise an event.

(Inherited from Component)
Container Container Container Container

取得包含 IContainerComponentGets the IContainer that contains the Component.

(Inherited from Component)
Controls Controls Controls Controls

取得 ToolStripPanelRow 中的控制項。Gets the controls in the ToolStripPanelRow.

DefaultMargin DefaultMargin DefaultMargin DefaultMargin

取得控制項之間的預設指定間距 (單位為像素)。Gets the space, in pixels, that is specified by default between controls.

DefaultPadding DefaultPadding DefaultPadding DefaultPadding

取得控制項內容的內部間距 (單位為像素)。Gets the internal spacing, in pixels, of the contents of a control.

DesignMode DesignMode DesignMode DesignMode

取得值,指出 Component 目前是否處於設計模式。Gets a value that indicates whether the Component is currently in design mode.

(Inherited from Component)
DisplayRectangle DisplayRectangle DisplayRectangle DisplayRectangle

取得控制項的顯示區域。Gets the display area of the control.

Events Events Events Events

取得附加在這個 Component 上的事件處理常式清單。Gets the list of event handlers that are attached to this Component.

(Inherited from Component)
LayoutEngine LayoutEngine LayoutEngine LayoutEngine

取得控制項配置引擎的執行個體。Gets an instance of the control's layout engine.

Margin Margin Margin Margin

取得或設定控制項之間的空格。Gets or sets the space between controls.

Orientation Orientation Orientation Orientation

取得 ToolStripPanelRow 相對於其包含之 ToolStripPanel 的配置方向。Gets the layout direction of the ToolStripPanelRow relative to its containing ToolStripPanel.

Padding Padding Padding Padding

取得或設定控制項內的邊框間距。Gets or sets padding within the control.

Site Site Site Site

取得或設定 ComponentISiteGets or sets the ISite of the Component.

(Inherited from Component)
ToolStripPanel ToolStripPanel ToolStripPanel ToolStripPanel

取得包含 ToolStripPanelToolStripPanelRowGets the ToolStripPanel that contains the ToolStripPanelRow.


CanMove(ToolStrip) CanMove(ToolStrip) CanMove(ToolStrip) CanMove(ToolStrip)

取得或設定值,指出 ToolStrip 是否可以拖放至 ToolStripPanelRow 中。Gets or sets a value indicating whether a ToolStrip can be dragged and dropped into a ToolStripPanelRow.

CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type)

建立包含所有相關資訊的物件,這些資訊是產生用來與遠端物件通訊的所需 Proxy。Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
Dispose() Dispose() Dispose() Dispose()

釋放 Component 所使用的所有資源。Releases all resources used by the Component.

(Inherited from Component)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

釋放 ToolStripPanelRow 所使用的 Unmanaged 資源,並選擇性地釋放 Managed 資源。Releases the unmanaged resources used by the ToolStripPanelRow and optionally releases the managed resources.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(Inherited from Object)
GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

擷取控制這個執行個體存留期 (Lifetime) 原則的目前存留期服務物件。Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetService(Type) GetService(Type) GetService(Type) GetService(Type)

傳回表示 Component 或其 Container 所提供之服務的物件。Returns an object that represents a service provided by the Component or by its Container.

(Inherited from Component)
GetType() GetType() GetType() GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

取得存留期服務物件,以控制這個執行個體的存留期原則。Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

建立目前 Object 的淺層複本 (Shallow Copy)。Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

建立目前 MarshalByRefObject 物件的淺層複本。Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
OnBoundsChanged(Rectangle, Rectangle) OnBoundsChanged(Rectangle, Rectangle) OnBoundsChanged(Rectangle, Rectangle) OnBoundsChanged(Rectangle, Rectangle)

發生於 Bounds 屬性變更時。Occurs when the Bounds property changes.

OnControlAdded(Control, Int32) OnControlAdded(Control, Int32) OnControlAdded(Control, Int32) OnControlAdded(Control, Int32)

引發 ControlAdded 事件。Raises the ControlAdded event.

OnControlRemoved(Control, Int32) OnControlRemoved(Control, Int32) OnControlRemoved(Control, Int32) OnControlRemoved(Control, Int32)

引發 ControlRemoved 事件。Raises the ControlRemoved event.

OnLayout(LayoutEventArgs) OnLayout(LayoutEventArgs) OnLayout(LayoutEventArgs) OnLayout(LayoutEventArgs)

引發 Layout 事件。Raises the Layout event.

OnOrientationChanged() OnOrientationChanged() OnOrientationChanged() OnOrientationChanged()

發生於 Orientation 屬性的值變更時。Occurs when the value of the Orientation property changes.

ToString() ToString() ToString() ToString()

傳回任何包含 Component 名稱的 StringReturns a String containing the name of the Component, if any. 不應覆寫此方法。This method should not be overridden.

(Inherited from Component)


Disposed Disposed Disposed Disposed

當此元件由 Dispose() 方法的呼叫處置時發生。Occurs when the component is disposed by a call to the Dispose() method.

(Inherited from Component)