Язык

ChildSiteLink.CreateForSystemVisual(ContentIsland, ContainerVisual) Метод

Определение

Создает новый экземпляр ChildSiteLink (в отключенном и пустом состоянии).

public:
 static ChildSiteLink ^ CreateForSystemVisual(ContentIsland ^ parent, ContainerVisual ^ placementVisual);
 static ChildSiteLink CreateForSystemVisual(ContentIsland const& parent, ContainerVisual const& placementVisual);
public static ChildSiteLink CreateForSystemVisual(ContentIsland parent, ContainerVisual placementVisual);
function createForSystemVisual(parent, placementVisual)
Public Shared Function CreateForSystemVisual (parent As ContentIsland, placementVisual As ContainerVisual) As ChildSiteLink

Параметры

parent
ContentIsland

Родительский ContentIsland , с которым связан ChildSiteLink .

placementVisual
ContainerVisual

Указанные позиции визуального элемента размещения и задает размер экземпляра относительно корневого визуального элемента родительского ContentIsland.

Возвращаемое значение

Возвращает созданный ChildSiteLink.

Комментарии

Родитель должен быть подключен и создан в текущем потоке.

РасположениеVisual должно быть потомком корневого элемента Visual родительского ContentIslandэлемента.

Применяется к