Export (0) Print
Expand All

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

The ControlSite type exposes the following members.

  NameDescription
Public propertyAltHTMLInfrastructure.
Public propertyApplicationGets the creator of the ControlSite.
Public propertyAutoLoadGets or sets a value that indicates whether the ControlSite is automatically loaded when the workbook that contains it is opened.
Public propertyAutoUpdateGets or sets a value that indicates whether the ControlSite is updated automatically when the source changes.
Public propertyBorderGets the border of the ControlSite.
Public propertyBottomRightCellGets a Range that represents the cell that lies under the lower-right corner of the ControlSite.
Public propertyCreatorGets a value that indicates the application in which the ControlSite was created.
Public propertyEnabledGets or sets a value that indicates whether the ControlSite is enabled.
Public propertyHeightGets or sets the height, in points, of the ControlSite.
Public propertyIndexGets the index number of the ControlSite within the collection of similar objects.
Public propertyInteriorGets the interior of the ControlSite.
Public propertyLeftGets 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).
Public propertyLinkedCellGets or sets a value that identifies the range linked to the value of the ControlSite.
Public propertyListFillRangeGets or sets a value that identifies the range used to fill the specified list box.
Public propertyLockedGets or sets a value that indicates whether the ControlSite is locked.
Public propertyNameGets or sets the name of the ControlSite.
Public propertyObjectGets the OLE Automation object associated with the ControlSite.
Public propertyOLETypeGets the ControlSite type.
Public propertyOnActionInfrastructure.
Public propertyParentGets the parent object for the ControlSite.
Public propertyPlacementGets or sets a value that indicates how the ControlSite is attached to the cells below it.
Public propertyPrintObjectGets or sets a value that indicates whether the ControlSite is printed when the document is printed.
Public propertyprogIDGets the programmatic identifier for the ControlSite.
Public propertyShadowGets or sets a value that indicates whether the font is a shadow font or if the ControlSite has a shadow.
Public propertyShapeRangeGets a ShapeRange that represents the specified ControlSite.
Public propertySourceNameGets or sets the link source name of the ControlSite.
Public propertyTopGets 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).
Public propertyTopLeftCellGets a Range that represents the cell that lies under the upper-left corner of the ControlSite.
Public propertyVisibleGets or sets a value that indicates whether the ControlSite is visible.
Public propertyWidthGets or sets the width, in points, of the ControlSite.
Public propertyZOrderGets the z-order position of the ControlSite.
Top

  NameDescription
Public methodActivateActivates the ControlSite.
Public methodBringToFrontBrings the ControlSite to the front of the z-order.
Public methodCopyCopies the ControlSite to the Clipboard.
Public methodCopyPictureCopies the ControlSite to the Clipboard as a picture.
Public methodCutCuts the ControlSite to the Clipboard.
Public methodDeleteDeletes the ControlSite.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public methodDuplicateDuplicates the ControlSite and returns a reference to the new copy.
Public methodSelectSelects the ControlSite.
Public methodSendToBackSends the ControlSite to the back of the z-order.
Public methodUpdateUpdates the link.
Public methodVerbSends a verb to the server of the ControlSite.
Top

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.

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.

Community Additions

ADD
Show:
© 2014 Microsoft