StatusBarPanel::Parent Property

 

Gets the StatusBar control that hosts the status bar panel.

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

public:
[BrowsableAttribute(false)]
property StatusBar^ Parent {
	StatusBar^ 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: