Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ToolStripPanelRow Class

Represents a row of a ToolStripPanel that can contain controls.

System.Object
  System.MarshalByRefObject
    System.ComponentModel.Component
      System.Windows.Forms.ToolStripPanelRow

Namespace:  System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)
public class ToolStripPanelRow : Component, 
	IComponent, IDisposable

The ToolStripPanelRow type exposes the following members.

  NameDescription
Public methodToolStripPanelRowInitializes a new instance of the ToolStripPanelRow class, specifying the containing ToolStripPanel.
Top
  NameDescription
Public propertyBoundsGets the size and location of the ToolStripPanelRow, including its nonclient elements, in pixels, relative to the parent control.
Protected propertyCanRaiseEventsGets a value indicating whether the component can raise an event. (Inherited from Component.)
Public propertyContainerGets the IContainer that contains the Component. (Inherited from Component.)
Public propertyControlsGets the controls in the ToolStripPanelRow.
Protected propertyDefaultMarginGets the space, in pixels, that is specified by default between controls.
Protected propertyDefaultPaddingGets the internal spacing, in pixels, of the contents of a control.
Protected propertyDesignModeGets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Public propertyDisplayRectangleGets the display area of the control.
Protected propertyEventsGets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public propertyLayoutEngineGets an instance of the control's layout engine.
Public propertyMarginGets or sets the space between controls.
Public propertyOrientationGets the layout direction of the ToolStripPanelRow relative to its containing ToolStripPanel.
Public propertyPaddingGets or sets padding within the control.
Public propertySiteGets or sets the ISite of the Component. (Inherited from Component.)
Public propertyToolStripPanelGets the ToolStripPanel that contains the ToolStripPanelRow.
Top
  NameDescription
Public methodCanMoveGets or sets a value indicating whether a ToolStrip can be dragged and dropped into a ToolStripPanelRow.
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodDispose()Releases all resources used by the Component. (Inherited from Component.)
Protected methodDispose(Boolean)Releases the unmanaged resources used by the ToolStripPanelRow and optionally releases the managed resources. (Overrides Component.Dispose(Boolean).)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeReleases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodGetServiceReturns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
Protected methodMemberwiseClone(Boolean)Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Protected methodOnBoundsChangedOccurs when the Bounds property changes.
Protected methodOnControlAddedRaises the ControlAdded event.
Protected methodOnControlRemovedRaises the ControlRemoved event.
Protected methodOnLayoutRaises the Layout event.
Protected methodOnOrientationChangedOccurs when the value of the Orientation property changes.
Public methodToStringReturns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top
  NameDescription
Public eventDisposedOccurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Top

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.