BindingCollectionUpdate Method |
Updates all bindings manually
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public void Update(
BindingUpdateMode mode = BindingUpdateMode.Source
)
Public Sub Update (
Optional mode As BindingUpdateMode = BindingUpdateMode.Source
)
member Update :
?mode : BindingUpdateMode
(* Defaults:
let _mode = defaultArg mode BindingUpdateMode.Source
*)
-> unit
Parameters
- mode (Optional)
- Type: Eto.FormsBindingUpdateMode
[Missing <param name="mode"/> documentation for "M:Eto.Forms.BindingCollection.Update(Eto.Forms.BindingUpdateMode)"]
Remarks
Bindings can automatically update if enabled and there are sufficient property changed event(s),
However in some cases you will want to update the bindings manually, for example if you want to save
the data on the form, it would validate first, then update the bound object(s) with the updated values.
See Also