Skip to main content

WorkspaceManager.TargetControl Property

Gets the target control.

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

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