[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Drawing.IShape.Control

Control Property

Control

Gets the associated control.

Declaration
IControl Control { get; }
ReadOnly Property Control As IControl
Property Value
Type Description
IControl

The associated control. null (Nothing) if the shape is not a control.

Examples
IScrollBar scrollBar = worksheet.Controls.AddScrollBar(50, 20, 120, 20);
IShape controlShape = scrollBar.ShapeRange[0];
IControl control = controlShape.Control;