Skip to main content

WorkspaceManager.TargetControl Property

Gets the target control.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core


public FrameworkElement TargetControl { get; }

Property Value

Type Description

A FrameworkElement object that represents the target control.


Each WorkspaceManager instance is associated with a single control (the target control). The WorkspaceManager captures and applies workspaces to its target control (and the target control’s children).

To create a WorkspaceManager instance associated with a particular control, set the WorkspaceManager.IsEnabled attached property for that control to true, and then use the WorkspaceManager.WorkspaceManager attached property to obtain the created WorkspaceManager.


See Also