StatusBarPanel.Parent Property


Gets the StatusBar control that hosts the status bar panel.

 property System::Windows::Forms::StatusBar ^ Parent { System::Windows::Forms::StatusBar ^ get(); };
public System.Windows.Forms.StatusBar Parent { get; }
member this.Parent : System.Windows.Forms.StatusBar
Public ReadOnly Property Parent As StatusBar

Property Value

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.

Applies to

See also