Skip to main content
A newer version of this page is available. .

WorkspaceManager.TargetControl Property

Gets the target control.

Namespace: DevExpress.Xpf.Core

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

Declaration

public FrameworkElement TargetControl { get; }

Property Value

Type Description
FrameworkElement

A FrameworkElement object that represents the target control.

Remarks

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.

Implements

See Also