Skip to main content
Bar

BarItemLinkActionBase.GetLinksHolder(String, BarManagerController, ItemLinksHolderType) Method

Returns the link container, created by the specified BarManagerController, with the specified name or of the specified type.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

public static ILinksHolder GetLinksHolder(
    string name,
    BarManagerController controller,
    ItemLinksHolderType targetType
)

#Parameters

Name Type Description
name String

A string that specifies the name of the link container to be returned. This property is in effect if the targetType parameter is set to Other.

controller BarManagerController

A BarManagerController object that owns the link container to be returned.

targetType ItemLinksHolderType

A ItemLinksHolderType object that specifes the type of link container to be returned. If the parameter is set to MainMenu or StatusBar, the name parameter is ignored.

#Returns

Type Description
ILinksHolder

An ILinksHolder object that represents the required link container (a Bar, PopupMenu or BarLinkContainerItem object).

See Also