StatusBarPanel.Parent Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the StatusBar control that hosts the status bar panel.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

[BrowsableAttribute(false)]
public StatusBar Parent { get; }

Property Value

Type: System.Windows.Forms.StatusBar

The StatusBar that contains the panel.

You can use this property to determine the StatusBar control that a StatusBarPanel is contained within. StatusBarPanel objects are added to a StatusBar control by calling the Add method of the StatusBar.StatusBarPanelCollection class. The StatusBar.StatusBarPanelCollection of a StatusBar control is accessible through the Panels property.

.NET Framework
Available since 1.1
Return to top
Show: