[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IControl.SendToBack

SendToBack Method

SendToBack()

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

Use this method to place the control behind other overlapping form controls on the same parent.

Declaration
bool SendToBack()
Function SendToBack() As Boolean
Returns
Type Description
bool

true if the control's z-order position changes successfully; otherwise, false.

Examples
IControl control1 = worksheet.Controls.AddButton(20, 20, 120, 30);
IControl control2 = worksheet.Controls.AddButton(30, 24, 120, 30);
bool moved = control2.SendToBack();