WorkspaceManager.TargetControl Property

Gets the target control.

Namespace: DevExpress.Xpf.Core

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

Declaration

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

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