WorkspaceManager.FromControl(Control) Method
In This Article
Gets a WorkspaceManager stored within the target control.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
public static WorkspaceManager FromControl(
Control control
)
#Parameters
Name | Type | Description |
---|---|---|
control | Control | A Control from which a Workspace |
#Returns
Type | Description |
---|---|
Workspace |
A Workspace |
#Remarks
You can pass a control (such as Form or UserControl) to the FromControl method’s control parameter in order to get a WorkspaceManager contained within this object. A parent container for a Workspace Manager is specified via the WorkspaceManager.TargetControl property.
See Also