ToolStripPanelRow ToolStripPanelRow ToolStripPanelRow ToolStripPanelRow Class


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)

Initializes a new instance of the ToolStripPanelRow class, specifying the containing ToolStripPanel.


Bounds Bounds Bounds Bounds

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

Gets the IContainer that contains the Component.

(Inherited from Component)
Controls Controls Controls Controls

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

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

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

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

Gets or sets the ISite of the Component.

(Inherited from Component)
ToolStripPanel ToolStripPanel ToolStripPanel ToolStripPanel

Gets the ToolStripPanel that contains the ToolStripPanelRow.


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

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)

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

Releases all resources used by the Component.

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

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

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)

Returns an object that represents a service provided by the Component or by its Container.

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

Gets 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()

Creates a shallow copy of the current Object.

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

Creates a shallow copy of the current MarshalByRefObject object.

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

Occurs when the Bounds property changes.

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

Raises the ControlAdded event.

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

Raises the ControlRemoved event.

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

Raises the Layout event.

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

Occurs when the value of the Orientation property changes.

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

Returns a String containing the name of the Component, if any. This method should not be overridden.

(Inherited from Component)


Disposed Disposed Disposed Disposed

Occurs when the component is disposed by a call to the Dispose() method.

(Inherited from Component)

Applies to