TTMSFNCWXContainerLinks Class
A collection of links that define the external scripts, stylesheets, and inline style blocks injected into the hosted page.
API unit family: TMSFNCWXContainer
Inherits from: TTMSFNCOwnedCollection
Syntax
TTMSFNCWXContainerLinks = class(TTMSFNCOwnedCollection)
Properties
| Name | Description |
|---|---|
| Items | Provides indexed access to the links in the collection. |
Methods
| Name | Description |
|---|---|
| Add | Adds a new, unconfigured link to the collection. |
| AddLink | Adds a link that references an external resource at the given address. |
| AddScript | Adds a link configured as a script that loads from the given address. |
| AddStyle | Adds a link configured as an inline style block with the given CSS content. |
| AddStyleSheetLink | Adds a link that references an external stylesheet at the given address, setting its relationship to stylesheet. |
| Clear | Removes all links from the collection, wrapping the operation in an update of the host control. |
| Insert | Inserts a new link at the given position in the collection. |