Skip to main content

WorkspaceManager.SetIsEnabled(FrameworkElement, Boolean) Method

In This Article

Sets a value of the WorkspaceManager.IsEnabled attached property to a specified FrameworkElement.

Namespace: DevExpress.Xpf.Core

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

#Declaration

public static void SetIsEnabled(
    FrameworkElement targetControl,
    bool enabled
)

#Parameters

Name Type Description
targetControl FrameworkElement

The element to which the attached property is written.

enabled Boolean

The value of the WorkspaceManager.IsEnabled property to be set.

See Also