System.Waf.Presentation.ValidationHelper.SetIsEnabled C# (CSharp) Method

SetIsEnabled() public static method

Sets the value that indicates whether the ValidationHelper is enabled. The default value is 'false'. It is not allowed to call this method with 'false'.
The value must not be set to 'false'.
public static SetIsEnabled ( DependencyObject obj, bool value ) : void
obj System.Windows.DependencyObject The object to set the value to.
value bool if set to true then the ValidationHelper is enabled for the specified object.
return void
        public static void SetIsEnabled(DependencyObject obj, bool value) { obj.SetValue(IsEnabledProperty, value); }