ControlSite Interface

 

Represents a linked or embedded control on a worksheet.

Namespace:   Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel (in Microsoft.Office.Tools.Excel.dll)

[GuidAttribute("D7A3AD16-D044-4CDF-989D-AF46A924F1D8")]
public interface ControlSite : IDisposable

NameDescription
System_CAPS_pubpropertyAltHTML

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubpropertyApplication

Gets the creator of the ControlSite.

System_CAPS_pubpropertyAutoLoad

Gets or sets a value that indicates whether the ControlSite is automatically loaded when the workbook that contains it is opened.

System_CAPS_pubpropertyAutoUpdate

Gets or sets a value that indicates whether the ControlSite is updated automatically when the source changes.

System_CAPS_pubpropertyBorder

Gets the border of the ControlSite.

System_CAPS_pubpropertyBottomRightCell

Gets a Range that represents the cell that lies under the lower-right corner of the ControlSite.

System_CAPS_pubpropertyCreator

Gets a value that indicates the application in which the ControlSite was created.

System_CAPS_pubpropertyEnabled

Gets or sets a value that indicates whether the ControlSite is enabled.

System_CAPS_pubpropertyHeight

Gets or sets the height, in points, of the ControlSite.

System_CAPS_pubpropertyIndex

Gets the index number of the ControlSite within the collection of similar objects.

System_CAPS_pubpropertyInterior

Gets the interior of the ControlSite.

System_CAPS_pubpropertyLeft

Gets or sets the distance, in points, from the left edge of the ControlSite to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).

System_CAPS_pubpropertyLinkedCell

Gets or sets a value that identifies the range linked to the value of the ControlSite.

System_CAPS_pubpropertyListFillRange

Gets or sets a value that identifies the range used to fill the specified list box.

System_CAPS_pubpropertyLocked

Gets or sets a value that indicates whether the ControlSite is locked.

System_CAPS_pubpropertyName

Gets or sets the name of the ControlSite.

System_CAPS_pubpropertyObject

Gets the OLE Automation object associated with the ControlSite.

System_CAPS_pubpropertyOLEType

Gets the ControlSite type.

System_CAPS_pubpropertyOnAction

This API supports the product infrastructure and is not intended to be used directly from your code.

System_CAPS_pubpropertyParent

Gets the parent object for the ControlSite.

System_CAPS_pubpropertyPlacement

Gets or sets a value that indicates how the ControlSite is attached to the cells below it.

System_CAPS_pubpropertyPrintObject

Gets or sets a value that indicates whether the ControlSite is printed when the document is printed.

System_CAPS_pubpropertyprogID

Gets the programmatic identifier for the ControlSite.

System_CAPS_pubpropertyShadow

Gets or sets a value that indicates whether the font is a shadow font or if the ControlSite has a shadow.

System_CAPS_pubpropertyShapeRange

Gets a ShapeRange that represents the specified ControlSite.

System_CAPS_pubpropertySourceName

Gets or sets the link source name of the ControlSite.

System_CAPS_pubpropertyTop

Gets or sets the distance, in points, from the top edge of the ControlSite to the top of row 1 (on a worksheet) or the top of the chart area (on a chart).

System_CAPS_pubpropertyTopLeftCell

Gets a Range that represents the cell that lies under the upper-left corner of the ControlSite.

System_CAPS_pubpropertyVisible

Gets or sets a value that indicates whether the ControlSite is visible.

System_CAPS_pubpropertyWidth

Gets or sets the width, in points, of the ControlSite.

System_CAPS_pubpropertyZOrder

Gets the z-order position of the ControlSite.

NameDescription
System_CAPS_pubmethodActivate()

Activates the ControlSite.

System_CAPS_pubmethodBringToFront()

Brings the ControlSite to the front of the z-order.

System_CAPS_pubmethodCopy()

Copies the ControlSite to the Clipboard.

System_CAPS_pubmethodCopyPicture(XlPictureAppearance, XlCopyPictureFormat)

Copies the ControlSite to the Clipboard as a picture.

System_CAPS_pubmethodCut()

Cuts the ControlSite to the Clipboard.

System_CAPS_pubmethodDelete()

Deletes the ControlSite.

System_CAPS_pubmethodDispose()

(Inherited from IDisposable.)

System_CAPS_pubmethodDuplicate()

Duplicates the ControlSite and returns a reference to the new copy.

System_CAPS_pubmethodSelect(Object)

Selects the ControlSite.

System_CAPS_pubmethodSendToBack()

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

System_CAPS_pubmethodUpdate()

Updates the link.

System_CAPS_pubmethodVerb(XlOLEVerb)

Sends a verb to the server of the ControlSite.

A ControlSite is returned when you use the AddControl method to add a control to a document. For more information, see Adding Controls to Office Documents at Run Time.

System_CAPS_noteNote

This interface is implemented by the Visual Studio Tools for Office runtime. It is not intended to be implemented in your code. For more information, see Visual Studio Tools for Office Runtime Overview.

Return to top
Show: