MonthCalendar.BringToFront Method
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.
Brings the MonthCalendar to the front of the z-order.
public:
System::Object ^ BringToFront();
public object BringToFront ();
override this.BringToFront : unit -> obj
Public Function BringToFront () As Object
This method returns a null reference (Nothing
in Visual Basic); otherwise this method returns true
.
For a code example that demonstrates how to use this method, see Microsoft.Office.Tools.Excel.Controls.Button.BringToFront. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent BringToFront
method.
This method sets the z-order of the MonthCalendar to the last index in the OLEObjects collection; the numbering of the z-order is the opposite of the numbering of the index in the OLEObjects collection. The higher the index in the OLEObjects collection, the lower the z-order of the MonthCalendar.
Продукт | Версии |
---|---|
Visual Studio Tools for Office | 2017, 2019, 2022 |