StatusBarPanel.Parent Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the StatusBar control that hosts the status bar panel.
public:
property System::Windows::Forms::StatusBar ^ Parent { System::Windows::Forms::StatusBar ^ get(); };
[System.ComponentModel.Browsable(false)]
public System.Windows.Forms.StatusBar Parent { get; }
[<System.ComponentModel.Browsable(false)>]
member this.Parent : System.Windows.Forms.StatusBar
Public ReadOnly Property Parent As StatusBar
Property Value
The StatusBar that contains the panel.
- Attributes
Remarks
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.