[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IControl.TopLeftCell

TopLeftCell Property

TopLeftCell

Gets the top left cell of this control.

The returned IRange identifies the worksheet cell at the upper-left corner of the control.

Declaration
IRange TopLeftCell { get; }
ReadOnly Property TopLeftCell As IRange
Examples
IControl control = worksheet.Controls.AddButton(20, 20, 120, 30);
IRange cell = control.TopLeftCell;
string address = cell.Address;