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.v20.1.dll


public static void SetIsEnabled(
    FrameworkElement targetControl,
    bool enabled
Public Shared Sub SetIsEnabled(
    targetControl As FrameworkElement,
    enabled As Boolean


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