+2007-01-02 Miguel de Icaza <miguel@novell.com>
+
+ * ContainerControl.cs: Add AutoValidateChanged event (for PDN
+ 2.72).
+
+ * ScrollableControl.cs: Add Scroll event.
+
2007-01-02 Mike Kestner <mkestner@novell.com>
* ListView.cs: one more try with help from georgegiolfan@yahoo.com
{
base.OnFontChanged (e);
}
+
+ AutoValidate auto_validate = AutoValidate.Inherit;
+ public virtual AutoValidate AutoValidate {
+ get {
+ return auto_validate;
+ }
+
+ [MonoTODO("Currently does nothing with the setting")]
+ set {
+ if (auto_validate != value){
+ auto_validate = value;
+ OnAutoValidateChanged (new EventArgs ());
+ }
+ }
+ }
+
+ static object OnValidateChanged = new object ();
+
+ protected virtual void OnAutoValidateChanged (EventArgs e)
+ {
+ EventHandler eh = (EventHandler) (Events [OnValidateChanged]);
+ if (eh != null)
+ eh (this, e);
+ }
+
+ public event EventHandler AutoValidateChanged {
+ add { Events.AddHandler (OnValidateChanged, value); }
+ remove { Events.RemoveHandler (OnValidateChanged, value); }
+ }
#endif
}
}
{
base.OnRightToLeftChanged (e);
}
+
+ public event ScrollEventHandler Scroll {
+ add { Events.AddHandler (OnScrollEvent, value); }
+ remove { Events.RemoveHandler (OnScrollEvent, value); }
+ }
#endif
}
}