MonthCalendar.Parent Property
Visual Studio 2012
Gets the parent object for the MonthCalendar.
Assembly: Microsoft.Office.Tools.Excel.v4.0.Utilities (in Microsoft.Office.Tools.Excel.v4.0.Utilities.dll)
The parent of a MonthCalendar is a container control that connects the MonthCalendar with the document, not the Range that contains the MonthCalendar.
The parent of a MonthCalendar can only be accessed as an Object.
For a code example that demonstrates how to use this property, see Button.Parent. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent Parent property.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.