// // // // // $Revision$ // using System; using System.Windows.Forms; namespace ICSharpCode.PythonBinding { /// /// Represents the AutoValidate property for a Form or ContainerControl. /// public class PythonControlAutoValidateProperty : PythonControlProperty { public PythonControlAutoValidateProperty() { } public override bool IsDefaultValue(object propertyValue) { if (propertyValue is AutoValidate) { return (AutoValidate)propertyValue == AutoValidate.EnablePreventFocusChange; } return false; } } }