Upraviť

Zdieľať cez


ToolStripPanelRow Class

Definition

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
Inheritance
ToolStripPanelRow
Implements

Constructors

ToolStripPanelRow(ToolStripPanel)

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

Properties

Bounds

Gets the size and location of the ToolStripPanelRow, including its nonclient elements, in pixels, relative to the parent control.

CanRaiseEvents

Gets a value indicating whether the component can raise an event.

(Inherited from Component)
Container

Gets the IContainer that contains the Component.

(Inherited from Component)
Controls

Gets the controls in the ToolStripPanelRow.

DefaultMargin

Gets the space, in pixels, that is specified by default between controls.

DefaultPadding

Gets the internal spacing, in pixels, of the contents of a control.

DesignMode

Gets a value that indicates whether the Component is currently in design mode.

(Inherited from Component)
DisplayRectangle

Gets the display area of the control.

Events

Gets the list of event handlers that are attached to this Component.

(Inherited from Component)
LayoutEngine

Gets an instance of the control's layout engine.

Margin

Gets or sets the space between controls.

Orientation

Gets the layout direction of the ToolStripPanelRow relative to its containing ToolStripPanel.

Padding

Gets or sets padding within the control.

Site

Gets or sets the ISite of the Component.

(Inherited from Component)
ToolStripPanel

Gets the ToolStripPanel that contains the ToolStripPanelRow.

Methods

CanMove(ToolStrip)

Gets or sets a value indicating whether a ToolStrip can be dragged and dropped into a ToolStripPanelRow.

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

Releases all resources used by the Component.

(Inherited from Component)
Dispose(Boolean)

Releases the unmanaged resources used by the ToolStripPanelRow and optionally releases the managed resources.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService()
Obsolete.

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetService(Type)

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

(Inherited from Component)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
InitializeLifetimeService()
Obsolete.

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
OnBoundsChanged(Rectangle, Rectangle)

Occurs when the Bounds property changes.

OnControlAdded(Control, Int32)

Raises the ControlAdded event.

OnControlRemoved(Control, Int32)

Raises the ControlRemoved event.

OnLayout(LayoutEventArgs)

Raises the Layout event.

OnOrientationChanged()

Occurs when the value of the Orientation property changes.

ToString()

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

(Inherited from Component)

Events

Disposed

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

(Inherited from Component)

Applies to