System.Windows.Forms 1.0.5000.0 2.0.0.0 System.ComponentModel.Component System.ComponentModel.ISupportInitialize System.ComponentModel.DesignTimeVisible(false) System.ComponentModel.DefaultProperty("Text") System.ComponentModel.ToolboxItem(false) A represents an individual panel in the of a control. A can contain text and/or an icon that can be used to reflect the status of an application. Use the , accessible through the property of a control, to retrieve, add, or remove an individual . The provides properties that enable you to modify the display behavior of a panel within a control. You can use the property to display an icon within a panel. This property can be used to provide a graphical representation of state in an application. The property enables you to specify how text and/or an icon is aligned within the panel. To ensure that your panel is sized properly to fit the text of the panel, you can use the property to automatically resize the panel to fit the text of the panel or to fill the remaining space within the control. The property enables you to specify a minimum width for the panel to ensure that it does not get smaller than the data it is intended to display. The control is typically used to display Help information or state information about your application. Often, it is important to display additional information about data that is presented in a panel. You can use the property to display information whenever the mouse pointer rests on a panel. Although the control is typically used to display textual information, you can also provide your own type of display to a . The property enables you to specify how the will be drawn. By default, the property is used to display the value of the property (and an icon, if specified in the property). If the property is set to , you can draw your own information into the panel. You can use this feature to draw a progress bar or an animated icon in the panel. When you create an instance of the class, the read/write properties are set to initial values. For a list of these values, see the constructor. Represents a panel in a control. Although the control replaces and adds functionality to the control of previous versions, is retained for both backward compatibility and future use if you choose. Constructor When you create an instance of , the following read/write properties are set to initial values. Property Initial value null 10 A zero-length string. A zero-length string. 100 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.Localizable(true) System.ComponentModel.DefaultValue(System.Windows.Forms.HorizontalAlignment.Left) System.Windows.Forms.HorizontalAlignment To be added. You can use this property to horizontally align the text and/or icon assigned to the property within the borders of the panel. Text and icons can be aligned to the left, right, or center of the . There is no way to independently position an icon within the . For example, you cannot position an icon to the left side of the while aligning the text on the right side. The icon is always positioned to the left side of the text regardless of how the text is aligned. Gets or sets the alignment of text and icons within the status bar panel. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.DefaultValue(System.Windows.Forms.StatusBarPanelAutoSize.None) System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All) System.Windows.Forms.StatusBarPanelAutoSize To be added. objects set to have precedence over those panels set to the value. For example, a that has its property set to is shortened if a with the property set to requires that space. You can use to ensure that the contents of a are properly displayed in a control that contains more than one panel. For example, you might want a panel that contains text to adjust automatically to the amount of text it is displaying (), while another panel on the that displays an owner-drawn progress bar would need to be a fixed size (). Gets or sets a value indicating whether the status bar panel is automatically resized. 1.0.5000.0 2.0.0.0 Method System.Void This method is used to start the initialization of a component that is used on a form or used by another component. The method ends the initialization. Using the and methods prevents the control from being used before it is fully initialized. Begins the initialization of a . 1.0.5000.0 2.0.0.0 Property System.Runtime.InteropServices.DispId(-504) System.ComponentModel.DefaultValue(System.Windows.Forms.StatusBarPanelBorderStyle.Sunken) System.Windows.Forms.StatusBarPanelBorderStyle To be added. You can use this property to differentiate a panel from other panels in a control. Gets or sets the border style of the status bar panel. 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. Releases the unmanaged resources used by the and optionally releases the managed resources. true to release both managed and unmanaged resources; false to release only unmanaged resources. 1.0.5000.0 2.0.0.0 Method System.Void This method is used to end the initialization of a component that is used by another component. The method starts the initialization. Using the and methods prevents the control from being used before it is fully initialized. Ends the initialization of a . 1.0.5000.0 2.0.0.0 Property System.ComponentModel.Localizable(true) System.ComponentModel.DefaultValue(null) System.Drawing.Icon To be added. You can use this property to display an icon that represents the state of your application or a process within your application. For example, you can display an icon in a to indicate whether a file save operation is in progress or complete. There is no way to independently position an icon within the . For example, you cannot position an icon to the left side of the while aligning the text on the right side using the property. The icon is always positioned to the left side of the panel's text regardless of how the text is aligned. Gets or sets the icon to display within the status bar panel. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.RefreshProperties(System.ComponentModel.RefreshProperties.All) System.ComponentModel.Localizable(true) System.ComponentModel.DefaultValue(10) System.Int32 To be added. The property is used when the property is set to or to prevent the from automatically resizing to a width that is too small. When the property is set to , the property is automatically set to the same value as the property. Gets or sets the minimum allowed width of the status bar panel within the control. 1.0.5000.0 2.0.0.0 Property 2.0.0.0 System.ComponentModel.Localizable(true) System.String To be added. The property corresponds to the key for a in the . Gets or sets the name to apply to the . Property System.ComponentModel.Browsable(false) System.Windows.Forms.StatusBar To be added. You can use this property to determine the control that a is contained within. objects are added to a control by calling the method of the class. The of a control is accessible through the property. Gets the control that hosts the status bar panel. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.DefaultValue(System.Windows.Forms.StatusBarPanelStyle.Text) System.Windows.Forms.StatusBarPanelStyle To be added. You can use this property to indicate whether a displays text or whether the panel is managed as an owner-drawn . To determine when a needs to be drawn, create an event handler for the event of the control. The passed as a parameter to an event handler of the event enables you to determine which panel needs to be drawn. The also provides a object you can use to perform drawing tasks on the . Gets or sets the style of the status bar panel. 1.0.5000.0 2.0.0.0 Property 2.0.0.0 System.ComponentModel.DefaultValue(null) System.ComponentModel.Bindable(true) System.ComponentModel.Localizable(false) System.ComponentModel.TypeConverter(typeof(System.ComponentModel.StringConverter)) System.Object To be added. To be added. Gets or sets an object that contains data about the . Property System.ComponentModel.Localizable(true) System.ComponentModel.DefaultValue("") System.String To be added. This property represents the text that is displayed when the property is set to . You can use this property to display information about your application in a control. For example, you can use the property to display Help information when the user moves the mouse over a menu or to display the name and location of a file that is opened in an application. To align the text within a , use the property. Gets or sets the text of the status bar panel. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.Localizable(true) System.ComponentModel.DefaultValue("") System.String To be added. You can use this property to display additional information in a ToolTip when the mouse pointer rests on a . For example, you can display a ToolTip that provides data transfer speed for a that displays the status of a file transfer. To display ToolTips for other controls in your application, use the control. Gets or sets ToolTip text associated with the status bar panel. 1.0.5000.0 2.0.0.0 Method System.String To be added. Retrieves a string that contains information about the panel. Returns a string that contains the class name for the control and the text it contains. 1.0.5000.0 2.0.0.0 Property System.ComponentModel.Localizable(true) System.ComponentModel.DefaultValue(100) System.Int32 To be added. The property always reflects the actual width of a and cannot be smaller than the property. To automatically resize the width of the to the contents of the , you can use the property. Gets or sets the width of the status bar panel within the control. 1.0.5000.0 2.0.0.0