Skip to main content

WorkspaceManager.SetIsEnabled(FrameworkElement, Boolean) Method

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

Namespace: DevExpress.Xpf.Core

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

NuGet Package: DevExpress.Wpf.Core

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