DateTimePicker.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 parent object for the DateTimePicker.
public:
property System::Object ^ Parent { System::Object ^ get(); };
public object Parent { get; }
member this.Parent : obj
Public ReadOnly Property Parent As Object
Property Value
The parent object for the DateTimePicker.
Examples
For a code example that demonstrates how to use this property, see Microsoft.Office.Tools.Excel.Controls.Button.Parent. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Parent
property.
Remarks
The parent of a DateTimePicker is a container control that connects the DateTimePicker with the document, not the Range that contains the DateTimePicker.
The parent of a DateTimePicker can only be accessed as an Object.