Share via


DataGridView.SendToBack Method

Definition

Sends the DataGridView to the back of the z-order.

public:
 System::Object ^ SendToBack();
public object SendToBack ();
override this.SendToBack : unit -> obj
Public Function SendToBack () As Object

Returns

This method returns a null reference (Nothing in Visual Basic); otherwise this method returns true.

Examples

For a code example that demonstrates how to use this method, see Microsoft.Office.Tools.Excel.Controls.Button.SendToBack. All controls in the Microsoft.Office.Tools.Excel.Controls namespace have a functionally equivalent SendToBack method.

Remarks

This method sets the z-order of the DataGridView to the first 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 DataGridView.

Applies to