Back to Devexpress

WorkspaceManager.TargetControl Property

wpf-devexpress-dot-xpf-dot-core-dot-workspacemanager-e655fc89.md

latest2.0 KB
Original Source

WorkspaceManager.TargetControl Property

Gets the target control.

Namespace : DevExpress.Xpf.Core

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

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public FrameworkElement TargetControl { get; }
vb
Public ReadOnly Property TargetControl As FrameworkElement

Property Value

TypeDescription
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

TargetControl

See Also

IsEnabled

WorkspaceManager Class

WorkspaceManager Members

DevExpress.Xpf.Core Namespace