Skip to main content

WorkspaceManager.GetWorkspaceManager(FrameworkElement) Method

Gets the value of the WorkspaceManager.WorkspaceManager attached property for the specified FrameworkElement.

Namespace: DevExpress.Xpf.Core

Assembly: DevExpress.Xpf.Core.v26.1.dll

Declaration

public static IWorkspaceManager GetWorkspaceManager(
    FrameworkElement targetControl
)

Parameters

Name Type Description
targetControl FrameworkElement

The element from which the property value is read.

Returns

Type Description
IWorkspaceManager

The WorkspaceManager.WorkspaceManager property value for the element.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GetWorkspaceManager(FrameworkElement) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also