Method SetIsEnabled
SetIsEnabled(DependencyObject, bool)
Sets the value of the IsEnabled attached property to the specified DependencyObject.
public static void SetIsEnabled(DependencyObject obj, bool value)
Parameters
objDependencyObjectThe DependencyObject to set the value for.
valueboolThe value to set for the IsEnabled attached property.