Επεξεργασία

Κοινή χρήση μέσω


StatusBarPanel.Parent Property

Definition

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.

Applies to

See also