[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IControl.Delete

Delete Method

Delete()

Remove this control from parent.

Use this method to remove the current control from its parent object, such as a worksheet or another control container.

Declaration
void Delete()
Sub Delete()
Examples
IControl control = worksheet.Controls.AddButton(20, 20, 120, 30);
control.Name = "submitButton";
control.Delete();