Method SetEnable
SetEnable(FrameworkElement, bool)
Sets the value indicating whether the behavior is enabled for the specified FrameworkElement.
public static void SetEnable(FrameworkElement frameworkElement, bool value)
Parameters
frameworkElement
FrameworkElementThe FrameworkElement to set.
value
boolThe value indicating whether the behavior is enabled.