System.Windows.Forms
1.0.5000.0
2.0.0.0
System.Windows.Forms.Control
System.ComponentModel.DefaultProperty("Text")
System.ComponentModel.Designer("System.Windows.Forms.Design.StatusBarDesigner, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.IDesigner")
System.ComponentModel.DefaultEvent("PanelClick")
System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)
System.Runtime.InteropServices.ComVisible(true)
Typically, a control consists of objects, each of which displays text and/or an icon. You can also provide owner-drawn panels to provide custom panels such as a progress bar or a series of images that displays the state of your application. A control typically displays information about an object being viewed on a , the object's components, or contextual information that relates to that object's operation within your application.
The control provides properties that enable you to customize the appearance of the control. If the is displayed on a form that can be resized, you can use the property to display a sizing grip in the lower-right corner of the form to indicate to users that the form can be resized. The property enables you to display panels within your or to display only the value of the property of the control.
The default has no panels. To add panels to a you can use the method of the class that is accessible through the property of the control. You can also use the object provided through the property to remove panels from the control and access a specific to manipulate the panel.
If you want to determine when a object within a control is clicked, you can create an event handler for the event. To perform owner-draw operations on a panel, you can create an event handler for the event. The event data passed to the event handler provides information on the panel to draw and a object to use to perform drawing tasks.
When you create an instance of , the read/write properties are set to initial values. For a list of these values, see the constructor.
Represents a Windows status bar control. Although replaces and adds functionality to the control of previous versions, is retained for both backward compatibility and future use if you choose.
Constructor
The default has no panels.
When you create an instance of , the following read/write properties are set to initial values.
-
Property
Initial value
-
-
false
-
true
You can change the value for any of these properties through a separate call to the property.
Initializes a new instance of the class.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Drawing.Color
To be added.
This is an ambient property and will always return a non-null value. This property is not relevant for this class.
Gets or sets the background color for the .
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the value of the property changes.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Drawing.Image
To be added.
Setting the background image for a has no effect on the appearance of the control, therefore it is not shown in the designer or by IntelliSense.
Gets or sets the background image for the .
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
For more information about handling events, see Consuming Events. This event is not relevant for this class. This event is not relevant for this class.
Occurs when the value of the property is changed.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.ImageLayout
To be added.
Setting the has no effect on the appearance of the control, therefore it is not shown in the designer or by IntelliSense.
Gets or sets the layout of the background image of the .
Event
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
For more information about handling events, see Consuming Events. This event is not relevant for this class.
Occurs when the value of the property changes.
Method
System.Void
To be added.
Overrides .
1.0.5000.0
2.0.0.0
Property
System.Windows.Forms.CreateParams
To be added.
To be added.
Gets the used to create the handle for this control.
1.0.5000.0
2.0.0.0
Property
System.Windows.Forms.ImeMode
To be added.
As implemented in the class, this property always returns the value.
Gets the default Input Method Editor (IME) mode supported by this control.
1.0.5000.0
2.0.0.0
Property
System.Drawing.Size
To be added.
To be added.
Gets the default size of the control.
1.0.5000.0
2.0.0.0
Method
System.Void
This method is called by the public Dispose method and the method. Dispose invokes the protected Dispose(Boolean) method with the parameter set to true. invokes Dispose with set to false.
When the parameter is true, this method releases all resources held by any managed objects that this references. This method invokes the Dispose method of each referenced object.
Disposes of the resources (other than memory) used by the .
true to release both managed and unmanaged resources; false to release only unmanaged resources.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(System.Windows.Forms.DockStyle.Bottom)
System.ComponentModel.Localizable(true)
System.Windows.Forms.DockStyle
To be added.
To be added.
Gets or sets the docking behavior of the control.
1.0.5000.0
2.0.0.0
Property
2.0.0.0
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.Boolean
To be added.
Setting this property has no effect on the control, therefore it is not shown in the designer or by IntelliSense.
Gets or sets a value indicating whether this control should redraw its surface using a secondary buffer to reduce or prevent flicker, however this property has no effect on the control
Event
System.Windows.Forms.StatusBarDrawItemEventHandler
You can use this event to perform drawing operations in an owner-drawn control. For example, if you display an owner-drawn that displays a progress bar, you can use this event to perform the drawing of the progress bar on the panel. The data provided to the event through the object passed as a parameter to the event handler enables you to determine the panel that needs to be drawn and the to use to draw to the panel. This event is only raised when the property of a in a control is set to .
For more information about handling events, see Consuming Events.
Occurs when a visual aspect of an owner-drawn status bar control changes.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.Drawing.Font
To be added.
To be added.
Gets or sets the font the control will use to display information.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Drawing.Color
To be added.
To be added.
Gets or sets the forecolor for the control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the value of the property changes.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.ImeMode
To be added.
To be added.
Gets or sets the Input Method Editor (IME) mode supported by this control.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.EventHandler
To be added.
Occurs when the value of the property changes.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
When overriding in a derived class, be sure to call the base class's method.
Raises the event.
An that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
Raises the event.
An that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
Raises the Layout event.
A LayoutEventArgs that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
Raises the event.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.
The method also allows derived classes to handle the event without attaching a delegate. This is the preferred technique for handling the event in a derived class.
Raises the event.
A that contains the event data.
1.0.5000.0
2.0.0.0
Method
System.Void
Raising an event invokes the event handler through a delegate. For an overview, see Raising an Event.
Raises the event.
An that contains the event data.
1.0.5000.0
2.0.0.0
Event
System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)
System.ComponentModel.Browsable(false)
System.Windows.Forms.PaintEventHandler
To be added.
Occurs when the control is redrawn.
1.0.5000.0
2.0.0.0
Event
System.Windows.Forms.StatusBarPanelClickEventHandler
You can use this event to perform tasks when a panel within a control is clicked. The data provided to the event through the passed as a parameter to the event handler enables you to determine the that was clicked by the user in order to perform tasks on the selected panel.
For more information about handling events, see Consuming Events.
Occurs when a object on a control is clicked.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)
System.ComponentModel.Localizable(true)
System.ComponentModel.MergableProperty(false)
System.Windows.Forms.StatusBar+StatusBarPanelCollection
To be added.
The control can display a number of panels to provide information to the user of your application. For example, a panel could display the current time or the progress of a file download. Each panel displayed by the control is an instance of the class. The property enables you to obtain a reference to the collection of objects that are currently stored in the control. With this reference, you can add panels, remove panels, access a specific panel within the collection, and obtain a count of the panels in the control. For more information on the tasks that can be performed with the panel collection, see the class reference topics.
Gets the collection of panels contained within the control.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(false)
System.Boolean
To be added.
By default, the control displays the value of its property without any panels. When ShowPanels is set to true, any objects specified in the control are displayed. No panels are initially created when you create an instance of the class. You can add panels to a control by using the method of the class. This collection class can be accessed through the property of .
Gets or sets a value indicating whether any panels that have been added to the control are displayed.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(true)
System.Boolean
To be added.
You can use this property to display a sizing grip to provide an indication to the user when a form is resizable. If the property of your is set to a border style that is not resizable, such as or , you should set the property to false to prevent the user from thinking that the form can be resized.
Gets or sets a value indicating whether a sizing grip is displayed in the lower-right corner of the control.
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.DefaultValue(false)
System.Boolean
To be added.
To be added.
Gets or sets a value indicating whether the user will be able to tab to the .
1.0.5000.0
2.0.0.0
Property
System.ComponentModel.Localizable(true)
System.String
To be added.
This property represents the text displayed by the control.
The control displays only the first 127 characters of a string.
Gets or sets the text associated with the control.
1.0.5000.0
2.0.0.0
Method
System.String
To be added.
Returns a string representation for this control.
String
1.0.5000.0
2.0.0.0
Method
System.Void
To be added.
To be added.
To be added.
1.0.5000.0
2.0.0.0