[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IControl.Parent

Parent Property

Parent

Gets the parent object, typically IWorksheet.

In some cases, the type of this property is IControl.

Declaration
object Parent { get; }
ReadOnly Property Parent As Object
Examples
IControl control = worksheet.Controls.AddButton(20, 20, 120, 30);
IWorksheet parentWorksheet = (IWorksheet) control.Parent;